Error map
CLIENT_FETCH_ERROR NextAuth: [next-auth][error][CLIENT_FETCH_ERROR] Unexpected token < in JSON
Authentication · layer 4, Application & API
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.
Directly related (7)
NextAuth / Auth.js: [next-auth][error][NO_SECRET] Please define a `secret` in production / MissingSecret
Auth.js needs a secret (NEXTAUTH_SECRET / AUTH_SECRET) in production to sign and encrypt tokens/cookies.
Sign in with Apple: invalid_client
Apple rejected the client secret JWT or the Services ID configuration.
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.
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.
NextAuth: JWEDecryptionFailed: decryption operation failed
The session cookie cannot be decrypted because NEXTAUTH_SECRET changed or differs.
Your account has been locked due to too many failed login attempts
The login system locked the account after repeated failures.
Auth0: login_required — Login required (silent authentication failed)
A silent token request found no active Auth0 session, so the user must log in interactively.
Two steps away (20)
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.
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.
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…
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…
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_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…
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.
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`.
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.
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…
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…
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…
JsonWebTokenError: jwt must be provided
jwt.verify() was called with an empty value — the token never reached the server code.
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…
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.
{"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.
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.
Okta: E0000004 Authentication failed
Okta could not authenticate the username and password for the primary authentication API.
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,…
Auth.js: UntrustedHost: Host must be trusted
Auth.js v5 refuses unknown hosts unless trusted.