Error map

AADSTS7000215 AADSTS7000215: Invalid client secret provided

Authentication · 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.

AADSTS7000215 — AADSTS7000215: Invalid client secret provided (Authentication)AADSTS70002…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientaccount locked — Your account has been locked due to too many failed login attempts (Authentication)account lockedsubscription key — Azure API Management: 401 Access denied due to missing subscription key (API)subscription keyCallback URL mismatch — Auth0: Callback URL mismatch. The provided redirect_uri is not in the list of allowed callback URLs (Authentication)Callback URL mismat…AADSTS50011 — AADSTS50011: The redirect URI specified in the request does not match the redirect URIs configured for the application (Authentication)AADSTS50011AADSTS70011 — AADSTS70011: The provided request must include a 'scope' input parameter / provided value for scope is not valid (Authentication)AADSTS70011InteractionRequiredAuthError — MSAL: InteractionRequiredAuthError: interaction_required / consent_required / login_required (Authentication)InteractionRequired…invalid_client — Sign in with Apple: invalid_client (Authentication)invalid_clientAADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016401 — HTTP 401 Unauthorized (HTTP)401invalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantNo active account found — {"detail":"No active account found with the given credentials"} (Authentication)No active account f…user_loader — Exception: Missing user_loader or request_loader (Flask-Login) (Authentication)user_loaderInvalid state — Auth0: Invalid state — login callback state does not match (Authentication)Invalid stateinvalid_api_key — API Error: Invalid API Key / Incorrect API key provided (API)invalid_api_keyjob not found — API Error: Job / operation not found or expired (async task ID unknown) (API)job not foundUnexpected token < — SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (API)Unexpected token <redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…login_required — Auth0: login_required — Login required (silent authentication failed) (Authentication)login_requiredUnknown or invalid refresh token — Auth0: invalid_grant — Unknown or invalid refresh token (Authentication)Unknown or invalid …redirect_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…URL Blocked — Facebook Login: URL Blocked: This redirect failed because the redirect URI is not whitelisted (Authentication)URL Blockedinvalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopemissing_scope — Slack API: {"ok":false,"error":"missing_scope","needed":"chat:write"} (API)missing_scopeinsufficientPermissions — Google API: 403 Request had insufficient authentication scopes (insufficientPermissions) (API)insufficientPermiss…login_required — OIDC Error: login_required / interaction_required / consent_required (silent authentication failed) (Authentication)login_requiredTokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredErrorinvalid_token — invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed) (Authentication)invalid_tokenjwt must be provided — JsonWebTokenError: jwt must be provided (Authentication)jwt must be provided

Directly related (8)

invalid_clientAuthentication

OAuth 2.0 Error: invalid_client

The OAuth server couldn’t authenticate your application — wrong client ID/secret, wrong auth method, or the client doesn’t exist…

account lockedAuthentication

Your account has been locked due to too many failed login attempts

The login system locked the account after repeated failures.

subscription keyAPI

Azure API Management: 401 Access denied due to missing subscription key

The request lacks the APIM subscription key.

Callback URL mismatchAuthentication

Auth0: Callback URL mismatch. The provided redirect_uri is not in the list of allowed callback URLs

The redirect_uri in the login request is not listed in the Auth0 application's Allowed Callback URLs.

AADSTS50011Authentication

AADSTS50011: The redirect URI specified in the request does not match the redirect URIs configured for the application

Entra ID (Azure AD) rejected the sign-in because the redirect URI is not registered on the app registration.

AADSTS70011Authentication

AADSTS70011: The provided request must include a 'scope' input parameter / provided value for scope is not valid

The scope in the token request is missing, malformed or not valid for the resource.

InteractionRequiredAuthErrorAuthentication

MSAL: InteractionRequiredAuthError: interaction_required / consent_required / login_required

MSAL could not get a token silently and needs the user to sign in or consent interactively.

invalid_clientAuthentication

Sign in with Apple: invalid_client

Apple rejected the client secret JWT or the Services ID configuration.

Two steps away (21)

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.

401HTTP

HTTP 401 Unauthorized

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

invalid_grantAuthentication

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…

No active account foundAuthentication

{"detail":"No active account found with the given credentials"}

Simple JWT's login endpoint did not find an active user matching the username and password.

user_loaderAuthentication

Exception: Missing user_loader or request_loader (Flask-Login)

Flask-Login needs a function that turns a stored user id into a user object, and none is registered.

Invalid stateAuthentication

Auth0: Invalid state — login callback state does not match

The `state` returned to the app does not match the one the SPA stored before redirecting to Auth0.

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…

job not foundAPI

API Error: Job / operation not found or expired (async task ID unknown)

The status URL or job ID for an asynchronous operation (export, import, render, batch) doesn’t exist any more, or never existed.

Unexpected token <API

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Your code called `response.json()` but the API returned an HTML page (usually an error page), not JSON.

redirect_uri_mismatchAuthentication

OAuth Error: redirect_uri_mismatch

The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.

login_requiredAuthentication

Auth0: login_required — Login required (silent authentication failed)

A silent token request found no active Auth0 session, so the user must log in interactively.

Unknown or invalid refresh tokenAuthentication

Auth0: invalid_grant — Unknown or invalid refresh token

Auth0 does not recognise the refresh token, so it was revoked, expired, already rotated or issued for another client.

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.

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.

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.

missing_scopeAPI

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

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

insufficientPermissionsAPI

Google API: 403 Request had insufficient authentication scopes (insufficientPermissions)

The OAuth token was granted fewer scopes than the API method requires.

login_requiredAuthentication

OIDC Error: login_required / interaction_required / consent_required (silent authentication failed)

A silent sign-in (prompt=none, iframe or refresh) couldn’t complete because the user must interact — no session, consent needed,…

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…

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…

jwt must be providedAuthentication

JsonWebTokenError: jwt must be provided

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