-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Wrong error and pointer for unverified user #6394
Comments
So you need error |
|
user should be pointer. UNAUTHORIZED should be the error |
Shouldn't it be unverified? |
I think the error earlier was fine - 'Unverified user cannot buy free tickets'. @liveHarshit? |
There is no UNVERIFIED HTTP status code https://httpstatuses.com/401 However, I was wrong, it should be 403 FORBIDDEN HTTP spec should be changed. 401 UNAUTHORIZED should be UNAUTHENTICATED and 403 FORBIDDEN should be UNAUTHORIZED |
It's detail, see the error title. |
Reference: fossasia/open-event-attendee-android#2287 (comment)
The text was updated successfully, but these errors were encountered: