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

Open the full error page →

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.

The access token expired — Spotify Web API: 401 The access token expired / 403 Player command failed: Premium required (API)The access …invalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grant498 — HTTP 498 Invalid Token (HTTP)498E0000011 — Okta: E0000011 Invalid token provided (Authentication)E0000011Decoding Firebase ID token failed — Firebase Admin: Decoding Firebase ID token failed. Make sure you passed the entire string JWT (Authentication)Decoding Firebase I…insufficientPermissions — Google API: 403 Request had insufficient authentication scopes (insufficientPermissions) (API)insufficientPermiss…jwt malformed — JsonWebTokenError: jwt malformed — token is not three dot-separated parts (Authentication)jwt malformedOAuthException 190 — Facebook Graph API: OAuthException (#190) Error validating access token (Authentication)OAuthException 190invalid_auth — Slack API: {"ok":false,"error":"invalid_auth"} (API)invalid_authAADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016400 — HTTP 400 Bad Request (HTTP)400401 — HTTP 401 Unauthorized (HTTP)401TokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredError218 — HTTP 218 This is fine (Apache) (HTTP)218420 — HTTP 420 Enhance Your Calm (HTTP)420invalid_token — invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed) (Authentication)invalid_tokenSenderId mismatch — FCM: SENDER_ID_MISMATCH — The registration token is not a valid FCM registration token for this sender (Google Cloud / Firebase)SenderId mismatchredirect_uri must be a Login redirect URI — Okta: The 'redirect_uri' parameter must be a Login redirect URI in the client app settings (Authentication)redirect_uri must b…auth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-creden…auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-b…auth/unauthorized-domain — Firebase Auth: auth/unauthorized-domain — This domain is not authorized for OAuth operations for your Firebase project (Authentication)auth/unauthorized-d…NameError — NameError: name 'x' is not defined (Python)NameErrorinvalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopeUnboundLocalError — UnboundLocalError: cannot access local variable 'x' where it is not associated with a value (Python)UnboundLocalErrorjwt must be provided — JsonWebTokenError: jwt must be provided (Authentication)jwt must be providedNot enough segments — jwt.exceptions.DecodeError: Not enough segments (Authentication)Not enough segmentssigning key — Unable to find a signing key that matches the token kid (JWKS) (Authentication)signing keyURL Blocked — Facebook Login: URL Blocked: This redirect failed because the redirect URI is not whitelisted (Authentication)URL BlockedApp not active — Facebook Login: App Not Active — This app is in development mode (Authentication)App not activeinvalid_api_key — API Error: Invalid API Key / Incorrect API key provided (API)invalid_api_keymissing_scope — Slack API: {"ok":false,"error":"missing_scope","needed":"chat:write"} (API)missing_scopechannel_not_found — Slack API: channel_not_found / not_in_channel (API)channel_not_found

Directly related (8)

Two steps away (23)

AADSTS700016Azure

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.

400HTTP

HTTP 400 Bad Request

The server could not understand the request because its syntax, headers or body are malformed or invalid.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

TokenExpiredErrorAuthentication

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…

218HTTP

HTTP 218 This is fine (Apache)

A non-standard Apache status that some hosts use to let an error body pass through a proxy.

420HTTP

HTTP 420 Enhance Your Calm

A non-standard rate-limit response (originally Twitter's) telling you to slow down.

invalid_tokenAuthentication

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…

SenderId mismatchGoogle Cloud / Firebase

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.

redirect_uri must be a Login redirect URIAuthentication

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.

auth/invalid-credentialAuthentication

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.

auth/popup-closed-by-userAuthentication

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.

auth/unauthorized-domainAuthentication

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.

NameErrorPython

NameError: name 'x' is not defined

Python doesn’t know the name — it was never assigned/imported in this scope, or it’s misspelled.

invalid_scopeAuthentication

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.

UnboundLocalErrorPython

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…

jwt must be providedAuthentication

JsonWebTokenError: jwt must be provided

jwt.verify() was called with an empty value — the token never reached the server code.

Not enough segmentsAuthentication

jwt.exceptions.DecodeError: Not enough segments

PyJWT received a string that does not have the three dot-separated segments of a JWT.

signing keyAuthentication

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.

URL BlockedAuthentication

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.

App not activeAuthentication

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.

invalid_api_keyAPI

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…

missing_scopeAPI

Slack API: {"ok":false,"error":"missing_scope","needed":"chat:write"}

The token does not have the OAuth scope required for this method.

channel_not_foundAPI

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.