Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feil med JSON parsing hvis JWT cookie er slettet #67

Open
nordmoen opened this issue Jan 20, 2025 · 0 comments
Open

Feil med JSON parsing hvis JWT cookie er slettet #67

nordmoen opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@nordmoen
Copy link

nordmoen commented Jan 20, 2025

I arbeidet med å sjekke hvordan vi kan oppdage at bruker er blitt logget ut så gikk jeg inn på Bob i prod og slettet Session Cookies for bob.ansatt.nav.no.

En feil som umiddelbart dukket opp var følgende:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data CreateConversationContent.tsx:30:16

Edit:
Ser etter litt forståelse av CreateConversationContent at feilen ikke kan oppstå der, men nok kommer fra kallet til API-et hvor token plutselig mangler.

@nordmoen nordmoen added the bug Something isn't working label Jan 20, 2025
@nordmoen nordmoen changed the title error i CreateConversationContent.tsx er ikke JSON Feil med JSON parsing hvis JWT cookie er slettet Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant