Change HTTP code for access_token with missing scopes.
#7066
Unanswered
DMax-YT
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I start working with discord's OAuth2 and tried to use
GET /users/@me/guilds/{guild.id}/memberwithout having required scope. The error code I got was401: Unauthorized. In this case I am authorized and it made me confused and took long time to fix it.I think in such case HTTP error must be
403: Forbiddenas mentioned in docs.Beta Was this translation helpful? Give feedback.
All reactions