Error map

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

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.

CLIENT_FETCH_ERROR — NextAuth: [next-auth][error][CLIENT_FETCH_ERROR] Unexpected token < in JSON (Authentication)CLIENT_FETC…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 stateJWEDecryptionFailed — NextAuth: JWEDecryptionFailed: decryption operation failed (Authentication)JWEDecryptionFailedaccount 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_tokenUnknown or invalid refresh token — Auth0: invalid_grant — Unknown or invalid refresh token (Authentication)Unknown or invalid …opaque 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…OptimisticLockException — 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 mismatchjwt must be provided — JsonWebTokenError: jwt must be provided (Authentication)jwt must be providedinvalid algorithm — JWT error: invalid algorithm / The specified alg value is not allowed / jwt signature is required (Authentication)invalid algorithmjwt not active — NotBeforeError: jwt not active (nbf claim in the future) (Authentication)jwt not activeNo 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_loaderE0000004 — Okta: E0000004 Authentication failed (Authentication)E0000004login_required — OIDC Error: login_required / interaction_required / consent_required (silent authentication failed) (Authentication)login_requiredUntrustedHost — Auth.js: UntrustedHost: Host must be trusted (Authentication)UntrustedHost

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…

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.

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.

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…

jwt must be providedAuthentication

JsonWebTokenError: jwt must be provided

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

invalid algorithmAuthentication

JWT error: invalid algorithm / The specified alg value is not allowed / jwt signature is required

The token’s alg header doesn’t match the algorithms the verifier allows — e.g. RS256 token verified as HS256, or an unsigned (alg…

jwt not activeAuthentication

NotBeforeError: jwt not active (nbf claim in the future)

The token’s nbf (not before) time is in the future for the verifying server — usually clock skew between servers.

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.

E0000004Authentication

Okta: E0000004 Authentication failed

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

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

UntrustedHostAuthentication

Auth.js: UntrustedHost: Host must be trusted

Auth.js v5 refuses unknown hosts unless trusted.