Error map

UntrustedHost Auth.js: UntrustedHost: Host must be trusted

Authentication · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (7). 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.

UntrustedHost — Auth.js: UntrustedHost: Host must be trusted (Authentication)UntrustedHo…NO_SECRET — NextAuth / Auth.js: [next-auth][error][NO_SECRET] Please define a `secret` in production / MissingSecret (Authentication)NO_SECRETinvalid_client — Sign in with Apple: invalid_client (Authentication)invalid_clientCallback URL mismatch — Auth0: Callback URL mismatch. The provided redirect_uri is not in the list of allowed callback URLs (Authentication)Callback URL mismat…Invalid state — Auth0: Invalid state — login callback state does not match (Authentication)Invalid stateUnknown or invalid refresh token — Auth0: invalid_grant — Unknown or invalid refresh token (Authentication)Unknown or invalid …account locked — Your account has been locked due to too many failed login attempts (Authentication)account lockedlogin_required — Auth0: login_required — Login required (silent authentication failed) (Authentication)login_required413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…CreateContainerConfigError — Kubernetes: CreateContainerConfigError — secret / configmap not found (Kubernetes)CreateContainerConf…TokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredErrorinvalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientinvalid_token — invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed) (Authentication)invalid_tokenopaque access token — Auth0: access token is opaque (not a JWT) because no audience was requested (Authentication)opaque access tokenredirect_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…E0000004 — Okta: E0000004 Authentication failed (Authentication)E0000004OptimisticLockException — Optimistic lock conflict: OptimisticLockException / StaleObjectStateException / version mismatch (API)OptimisticLockExcep…unexpected_state — API Error: Invalid state transition — operation not allowed in the resource’s current state (API)unexpected_statestate mismatch — OAuth callback error: state mismatch / Unable to verify authorization request state / State cookie was missing (Authentication)state mismatchinvalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantRefresh Token has been revoked — AWS Cognito: NotAuthorizedException: Refresh Token has been revoked (Authentication)Refresh Token has b…Refresh Token Not Found — Supabase: AuthApiError: Invalid Refresh Token: Refresh Token Not Found (Authentication)Refresh Token Not F…No 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_loaderAADSTS7000215 — AADSTS7000215: Invalid client secret provided (Authentication)AADSTS7000215login_required — OIDC Error: login_required / interaction_required / consent_required (silent authentication failed) (Authentication)login_requiredCLIENT_FETCH_ERROR — NextAuth: [next-auth][error][CLIENT_FETCH_ERROR] Unexpected token < in JSON (Authentication)CLIENT_FETCH_ERROR

Directly related (7)

Two steps away (20)

413HTTP

HTTP 413 Content Too Large (Request Entity Too Large)

The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.

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.

CreateContainerConfigErrorKubernetes

Kubernetes: CreateContainerConfigError — secret / configmap not found

Kubernetes can’t build the container’s configuration — usually a referenced Secret, ConfigMap or key doesn’t exist in that namesp…

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_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…

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…

opaque access tokenAuthentication

Auth0: access token is opaque (not a JWT) because no audience was requested

The login returned a short opaque access token, not a JWT, because the request had no API `audience`.

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.

E0000004Authentication

Okta: E0000004 Authentication failed

Okta could not authenticate the username and password for the primary authentication API.

OptimisticLockExceptionAPI

Optimistic lock conflict: OptimisticLockException / StaleObjectStateException / version mismatch

Someone else changed the record after you read it, so your update — based on an old version — was rejected to avoid overwriting t…

unexpected_stateAPI

API Error: Invalid state transition — operation not allowed in the resource’s current state

The request is valid, but the object is in a state where this action isn’t allowed — cancelling something already completed, refu…

state mismatchAuthentication

OAuth callback error: state mismatch / Unable to verify authorization request state / State cookie was missing

The state value returned to the callback doesn’t match what the app stored before redirecting — the CSRF protection for OAuth fai…

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…

Refresh Token has been revokedAuthentication

AWS Cognito: NotAuthorizedException: Refresh Token has been revoked

The Cognito refresh token was revoked by sign-out or admin action.

Refresh Token Not FoundAuthentication

Supabase: AuthApiError: Invalid Refresh Token: Refresh Token Not Found

The stored refresh token is unknown or already used.

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.

AADSTS7000215Authentication

AADSTS7000215: Invalid client secret provided

The client secret sent to Entra ID is wrong — often the secret ID was used instead of the secret value, or it expired.

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,…

CLIENT_FETCH_ERRORAuthentication

NextAuth: [next-auth][error][CLIENT_FETCH_ERROR] Unexpected token < in JSON

The client could not fetch `/api/auth/session` as JSON, often because NEXTAUTH_URL is wrong or the route returns HTML.