-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
401 (Unauthorized) #328
Comments
I think this is expected. UI is trying to determine if the user logged in or not. @Reeywhaar - pls confirm |
Well, error handling should be there, this should be considered log spam. |
so, smth to address on your side? |
yep, it's a minor bug |
oh, sorry, I've mistaken this with console.error message, but this is just plain network request log and nothing can be done here, it's browser thing that @umputun have described. |
is it considered wrong/bad/annoying? Theoretically, we can address it by changing the response of /user call to return json with "status": "unauthorized", however, this feels odd to me because this is exactly what 401 supposes to represent |
I think this clearly will be breaking change. Dunno, this kind of error pops on blink/webkit based browsers, why they have chosen to treat this as an error? In firefox you get this message if you turned on logging xhr requests in console which is not default. |
Just found out a StackOverflow post addressing the same issue. It certainly is a chrome thing and I guess I'll just have to ignore it. Thank you! |
It appears in the console every time when opening the demo page and my site has the same issue. I checked and the site_id matches.
The text was updated successfully, but these errors were encountered: