Error map
The access token expired Spotify Web API: 401 The access token expired / 403 Player command failed: Premium required
API · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (8). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (8)
OAuth 2.0 Error: invalid_grant
The authorization code, refresh token or credentials sent to the token endpoint are invalid, expired, already used or were issued…
HTTP 498 Invalid Token
A non-standard code (used by Esri/ArcGIS and some APIs) meaning the access token is expired or invalid.
Okta: E0000011 Invalid token provided
The Okta API call used an expired, revoked or malformed token.
Firebase Admin: Decoding Firebase ID token failed. Make sure you passed the entire string JWT
The server received something that is not a complete Firebase ID token.
Google API: 403 Request had insufficient authentication scopes (insufficientPermissions)
The OAuth token was granted fewer scopes than the API method requires.
JsonWebTokenError: jwt malformed — token is not three dot-separated parts
The JWT library could not split the token into header.payload.signature, so the value you passed is not a JWT at all.
Facebook Graph API: OAuthException (#190) Error validating access token
The Facebook access token is expired, invalidated or for another app.
Slack API: {"ok":false,"error":"invalid_auth"}
The Slack token is invalid, revoked or sent in the wrong way.
Two steps away (23)
Azure AD (Entra ID): AADSTS700016 Application not found in the directory
The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.
HTTP 400 Bad Request
The server could not understand the request because its syntax, headers or body are malformed or invalid.
HTTP 401 Unauthorized
The request has no valid authentication credentials — you need to log in or send a valid token.
JWT Expired / Invalid Token
The JSON Web Token sent with the request is expired, malformed or signed with a different key, so the API rejects it (usually wit…
HTTP 218 This is fine (Apache)
A non-standard Apache status that some hosts use to let an error body pass through a proxy.
HTTP 420 Enhance Your Calm
A non-standard rate-limit response (originally Twitter's) telling you to slow down.
invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed)
A token was sent but the server couldn’t verify it — bad signature, malformed, revoked, or issued for another audience or environ…
FCM: SENDER_ID_MISMATCH — The registration token is not a valid FCM registration token for this sender
The token was created for a different Firebase project (or sender ID) than the one sending the message.
Okta: The 'redirect_uri' parameter must be a Login redirect URI in the client app settings
Okta rejected the login because the redirect URI is not registered in the application's sign-in redirect URIs.
Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials)
Firebase rejected the email/password sign-in — wrong password, no such user, or a provider credential that’s malformed/expired.
Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request
The OAuth popup for Google/GitHub sign-in was closed, blocked by the browser, or replaced by another popup request.
Firebase Auth: auth/unauthorized-domain — This domain is not authorized for OAuth operations for your Firebase project
The site’s domain isn’t listed in Firebase Authentication → Settings → Authorized domains.
NameError: name 'x' is not defined
Python doesn’t know the name — it was never assigned/imported in this scope, or it’s misspelled.
OAuth 2.0 Error: invalid_scope / insufficient_scope
The requested scope is unknown or not allowed for this client — or the token lacks the scope the API endpoint requires.
UnboundLocalError: cannot access local variable 'x' where it is not associated with a value
A function assigns to a variable somewhere, which makes it local everywhere in that function — so reading it before the assignmen…
JsonWebTokenError: jwt must be provided
jwt.verify() was called with an empty value — the token never reached the server code.
jwt.exceptions.DecodeError: Not enough segments
PyJWT received a string that does not have the three dot-separated segments of a JWT.
Unable to find a signing key that matches the token kid (JWKS)
The token's `kid` is not in the JSON Web Key Set the verifier fetched, so it has no key to check the signature with.
Facebook Login: URL Blocked: This redirect failed because the redirect URI is not whitelisted
Facebook only redirects to URIs listed in Valid OAuth Redirect URIs.
Facebook Login: App Not Active — This app is in development mode
The Facebook app is in development mode, so only app roles can log in.
API Error: Invalid API Key / Incorrect API key provided
The API didn’t recognise the key sent with the request — it’s wrong, revoked, from another environment, or sent in the wrong plac…
Slack API: {"ok":false,"error":"missing_scope","needed":"chat:write"}
The token does not have the OAuth scope required for this method.
Slack API: channel_not_found / not_in_channel
The bot cannot see or post in that channel — wrong ID, private channel, or the bot is not a member.