Error map

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

Authentication · layer 4, Application & API

Open the full error page →

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

jwt not active — NotBeforeError: jwt not active (nbf claim in the future) (Authentication)jwt not act…secretOrPrivateKey must have a value — Error: secretOrPrivateKey must have a value (jsonwebtoken sign) (Authentication)secretOrPrivateKey …invalid_token — invalid_token: The access token is invalid (JsonWebTokenError: invalid signature / jwt malformed) (Authentication)invalid_tokeninvalid algorithm — JWT error: invalid algorithm / The specified alg value is not allowed / jwt signature is required (Authentication)invalid algorithmTokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredErrorjwt must be provided — JsonWebTokenError: jwt must be provided (Authentication)jwt must be providedinvalid two-factor code — Two-factor (TOTP) code invalid / Invalid verification code (authenticator app time drift) (Authentication)invalid two-factor …Clock skew too great — Kerberos: Clock skew too great (KRB_AP_ERR_SKEW) (Authentication)Clock skew too greatMissing Authorization Header — Flask-JWT-Extended: {"msg":"Missing Authorization Header"} (Authentication)Missing Authorizati…No authorization token was found — UnauthorizedError: No authorization token was found (express-jwt) (Authentication)No authorization to…opaque access token — Auth0: access token is opaque (not a JWT) because no audience was requested (Authentication)opaque access tokeninvalid_client — Sign in with Apple: invalid_client (Authentication)invalid_clientJWEDecryptionFailed — NextAuth: JWEDecryptionFailed: decryption operation failed (Authentication)JWEDecryptionFailed413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413CreateContainerConfigError — Kubernetes: CreateContainerConfigError — secret / configmap not found (Kubernetes)CreateContainerConf…divergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchespublickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyAADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016401 — HTTP 401 Unauthorized (HTTP)401webhook signature — Webhook signature verification failed (Stripe, Razorpay, GitHub…) (API)webhook signatureviolates PodSecurity — Error creating: pods is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false ... (Kubernetes)violates PodSecurityREMOTE HOST IDENTIFICATION HAS CHANGED — WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed) (Linux)REMOTE HOST IDENTIF…ExpiredToken — AWS: ExpiredToken — The security token included in the request is expired (AWS)ExpiredToken403 — HTTP 403 Forbidden (HTTP)403invalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantAADSTS50076 — Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required (Azure)AADSTS50076Repository not found — remote: Repository not found. fatal: repository 'https://github.com/x/y.git/' not found (Git)Repository not foundAuthentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…Illegal arguments: undefined, string — bcrypt error: Illegal arguments: undefined, string / data and salt arguments required / data and hash arguments required (Authentication)Illegal arguments: …NotAuthorizedException — AWS Cognito: NotAuthorizedException: Incorrect username or password (Authentication)NotAuthorizedExcept…UserNotConfirmedException — AWS Cognito: UserNotConfirmedException: User is not confirmed. (Authentication)UserNotConfirmedExc…Unable to verify secret hash for client — AWS Cognito: NotAuthorizedException: Unable to verify secret hash for client x (Authentication)Unable to verify se…LDAP error code 49 — LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e (Authentication)LDAP error code 49SAML response invalid — SAML: Invalid SAML response — signature validation failed / audience mismatch / response expired (NotOnOrAfter) (Authentication)SAML response inval…Flask app context — RuntimeError: Working outside of application context. (Python)Flask app contextjwt malformed — JsonWebTokenError: jwt malformed — token is not three dot-separated parts (Authentication)jwt malformedjwt audience invalid — JsonWebTokenError: jwt audience invalid. expected: … (Authentication)jwt audience invalidERR_HTTP_HEADERS_SENT — Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client (Node.js)ERR_HTTP_HEADERS_SE…req.body undefined — Express: req.body is undefined / {} (body parser missing) (Node.js)req.body undefinedRouter.use middleware — TypeError: Router.use() requires a middleware function but got a Object (Node.js)Router.use middlewa…jwt issuer invalid — JsonWebTokenError: jwt issuer invalid — iss claim mismatch (Authentication)jwt issuer invalidNot enough segments — jwt.exceptions.DecodeError: Not enough segments (Authentication)Not enough segmentskey length — WeakKeyException: The signing key's size is 128 bits which is not secure enough for HS256 (Authentication)key lengthredirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientalg none — JWT error: algorithm "none" is not allowed / Algorithm not supported (Authentication)alg noneNO_SECRET — NextAuth / Auth.js: [next-auth][error][NO_SECRET] Please define a `secret` in production / MissingSecret (Authentication)NO_SECRETsigning key — Unable to find a signing key that matches the token kid (JWKS) (Authentication)signing keynot yet valid — ImmatureSignatureError: The token is not yet valid (iat / nbf) (Authentication)not yet valid

Directly related (12)

secretOrPrivateKey must have a valueAuthentication

Error: secretOrPrivateKey must have a value (jsonwebtoken sign)

jwt.sign() got an empty secret — the environment variable holding the JWT secret isn’t loaded.

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…

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…

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…

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 two-factor codeAuthentication

Two-factor (TOTP) code invalid / Invalid verification code (authenticator app time drift)

The 6-digit authenticator code is rejected — usually because the phone’s or server’s clock is off, or the secret was enrolled twi…

Clock skew too greatAuthentication

Kerberos: Clock skew too great (KRB_AP_ERR_SKEW)

The client’s clock differs from the domain controller’s by more than 5 minutes, so Kerberos tickets are rejected.

Missing Authorization HeaderAuthentication

Flask-JWT-Extended: {"msg":"Missing Authorization Header"}

A route decorated with `@jwt_required()` was called without an Authorization header.

No authorization token was foundAuthentication

UnauthorizedError: No authorization token was found (express-jwt)

express-jwt middleware ran on a route and found no token in the Authorization header.

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`.

invalid_clientAuthentication

Sign in with Apple: invalid_client

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

JWEDecryptionFailedAuthentication

NextAuth: JWEDecryptionFailed: decryption operation failed

The session cookie cannot be decrypted because NEXTAUTH_SECRET changed or differs.

Two steps away (36)

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.

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…

divergent branchesGit

hint: You have divergent branches and need to specify how to reconcile them.

Git 2.27+ asks you to choose merge, rebase or fast-forward-only when local and remote both have new commits.

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

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.

webhook signatureAPI

Webhook signature verification failed (Stripe, Razorpay, GitHub…)

Your endpoint computed a different HMAC signature than the one the provider sent, so the webhook is rejected.

violates PodSecurityKubernetes

Error creating: pods is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false ...

The namespace enforces a Pod Security Standard (baseline/restricted) and the pod spec breaks one of its rules.

REMOTE HOST IDENTIFICATION HAS CHANGEDLinux

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed)

The server’s SSH host key differs from the one saved in ~/.ssh/known_hosts — usually because the server was rebuilt or the IP was…

ExpiredTokenAWS

AWS: ExpiredToken — The security token included in the request is expired

Temporary AWS credentials (STS/SSO/assumed role) have expired.

403HTTP

HTTP 403 Forbidden

The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…

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…

AADSTS50076Azure

Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required

A Conditional Access policy requires MFA, but the sign-in flow (often a script, legacy client or ROPC password grant) can’t compl…

Repository not foundGit

remote: Repository not found. fatal: repository 'https://github.com/x/y.git/' not found

GitHub/GitLab says the repository doesn’t exist — or you lack access to a private repo.

Authentication failedGit

fatal: Authentication failed for 'https://github.com/x/y.git/'

HTTPS authentication to the Git host failed — wrong or expired credentials, or a password used where a token is required.

Illegal arguments: undefined, stringAuthentication

bcrypt error: Illegal arguments: undefined, string / data and salt arguments required / data and hash arguments required

bcrypt.compare/hash received undefined — the password field or stored hash wasn’t passed.

NotAuthorizedExceptionAuthentication

AWS Cognito: NotAuthorizedException: Incorrect username or password

Cognito rejected the sign-in — wrong credentials, a disabled user, an auth flow not enabled on the app client, or an expired refr…

UserNotConfirmedExceptionAuthentication

AWS Cognito: UserNotConfirmedException: User is not confirmed.

The user signed up but hasn’t confirmed their account (email/SMS code), so Cognito won’t let them sign in.

Unable to verify secret hash for clientAuthentication

AWS Cognito: NotAuthorizedException: Unable to verify secret hash for client x

The app client has a client secret, so every request needs a SECRET_HASH — and it’s missing or computed wrongly.

LDAP error code 49Authentication

LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e

Active Directory/LDAP rejected the bind — the data code tells you why (52e wrong password, 525 user not found, 532 password expir…

SAML response invalidAuthentication

SAML: Invalid SAML response — signature validation failed / audience mismatch / response expired (NotOnOrAfter)

The service provider rejected the IdP’s SAML assertion — wrong certificate, Audience/Entity ID mismatch, ACS URL mismatch, or clo…

Flask app contextPython

RuntimeError: Working outside of application context.

Code used current_app, g, or a Flask extension (like SQLAlchemy) without an active Flask application context.

jwt malformedAuthentication

JsonWebTokenError: jwt malformed — token is not three dot-separated parts

The JWT library could not split the token into header.payload.signature, so the value you passed is not a JWT at all.

jwt audience invalidAuthentication

JsonWebTokenError: jwt audience invalid. expected: …

The token's `aud` claim does not contain the audience the verifier expects, so it was issued for a different API.

ERR_HTTP_HEADERS_SENTNode.js

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

An Express/Node handler tried to send a second response (or set headers) after one was already sent.

req.body undefinedNode.js

Express: req.body is undefined / {} (body parser missing)

Express didn’t parse the request body because no body-parsing middleware matched the request’s Content-Type.

Router.use middlewareNode.js

TypeError: Router.use() requires a middleware function but got a Object

app.use()/router.use() received an object instead of a function — usually a router module that wasn’t exported.

jwt issuer invalidAuthentication

JsonWebTokenError: jwt issuer invalid — iss claim mismatch

The token's `iss` claim does not match the issuer URL the verifier trusts.

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.

key lengthAuthentication

WeakKeyException: The signing key's size is 128 bits which is not secure enough for HS256

JJWT refuses to sign or verify with an HMAC key shorter than the algorithm requires (256 bits for HS256).

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.

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…

alg noneAuthentication

JWT error: algorithm "none" is not allowed / Algorithm not supported

The verifier rejected a token whose header says `alg: none` or lists an algorithm outside the allowed list.

NO_SECRETAuthentication

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.

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.

not yet validAuthentication

ImmatureSignatureError: The token is not yet valid (iat / nbf)

The token's issued-at or not-before time is later than the verifier's clock, usually from clock drift between servers.