Error map

credentials were not provided Authentication credentials were not provided (Django REST Framework 401/403)

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.

credentials were not provided — Authentication credentials were not provided (Django REST Framework 401/403) (Authentication)credentials…Missing Authentication Token — {"message":"Missing Authentication Token"} / No authorization token was found (Authentication)Missing Authenticat…Unable to verify secret hash for client — AWS Cognito: NotAuthorizedException: Unable to verify secret hash for client x (Authentication)Unable to verify se…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…Missing Authorization Header — Flask-JWT-Extended: {"msg":"Missing Authorization Header"} (Authentication)Missing Authorizati…20003 — Twilio: Error 20003 Authenticate — Your AccountSid or AuthToken was incorrect (API)20003Authentication failed — Razorpay: BAD_REQUEST_ERROR — Authentication failed (401) (API)Authentication fail…Given token not valid — {"detail":"Given token not valid for any token type","code":"token_not_valid"} (Authentication)Given token not val…No active account found — {"detail":"No active account found with the given credentials"} (Authentication)No active account f…authentication_error — LLM API: 401 authentication_error — invalid x-api-key / Incorrect API key provided (API)authentication_errorUNAUTHENTICATED — gRPC Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials (API)UNAUTHENTICATEDpublickey — 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)401invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientinvalid two-factor code — Two-factor (TOTP) code invalid / Invalid verification code (authenticator app time drift) (Authentication)invalid two-factor …NotAllowedError (WebAuthn) — WebAuthn / Passkeys: NotAllowedError: The operation either timed out or was not allowed (Authentication)NotAllowedError (We…parameter_missing — API Error: Missing required parameter (parameter_missing / "x" is required) (API)parameter_missingAADSTS50055 — AADSTS50055: The password is expired (Azure)AADSTS50055relying party ID is not a registrable domain suffix — WebAuthn: SecurityError: The relying party ID is not a registrable domain suffix of, nor equal to the current domain (Authentication)relying party ID is…TokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredErrorinvalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantinvalid_api_key — API Error: Invalid API Key / Incorrect API key provided (API)invalid_api_keyMessageRejected — SES MessageRejected: Email address is not verified. The following identities failed the check in region (AWS)MessageRejectedauth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-creden…Email not confirmed — Supabase Auth: AuthApiError: Email not confirmed (Authentication)Email not confirmedFlask app context — RuntimeError: Working outside of application context. (Python)Flask app contextinvalid_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 providedconcurrent_requests_limit — API Error: Too many concurrent requests (concurrency limit reached) (API)concurrent_requests…job not found — API Error: Job / operation not found or expired (async task ID unknown) (API)job not found21211 — Twilio: Error 21211 — The 'To' number is not a valid phone number (API)21211signature mismatch — Razorpay: Payment signature verification failed (razorpay_signature mismatch) (API)signature mismatchinvalid 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 activesecretOrPrivateKey must have a value — Error: secretOrPrivateKey must have a value (jsonwebtoken sign) (Authentication)secretOrPrivateKey …Bad credentials — Spring Security: BadCredentialsException: Bad credentials (Authentication)Bad credentialsAUTH_USER_MODEL — ImproperlyConfigured: AUTH_USER_MODEL refers to model 'x.User' that has not been installed (Authentication)AUTH_USER_MODELuser_loader — Exception: Missing user_loader or request_loader (Flask-Login) (Authentication)user_loadercontext_length_exceeded — LLM API: This model's maximum context length is x tokens. However, your messages resulted in y tokens (context_length_exceeded / prompt is too long) (API)context_length_exce…insufficient_quota — LLM API: You exceeded your current quota, please check your plan and billing details (insufficient_quota / credit balance is too low) (API)insufficient_quotamodel_not_found — LLM API: The model `x` does not exist or you do not have access to it (model_not_found / not_found_error) (API)model_not_found14 UNAVAILABLE — gRPC Error: 14 UNAVAILABLE: No connection established / failed to connect to all addresses (API)14 UNAVAILABLEDEADLINE_EXCEEDED — gRPC Error: 4 DEADLINE_EXCEEDED: Deadline exceeded (API)DEADLINE_EXCEEDED12 UNIMPLEMENTED — gRPC Error: 12 UNIMPLEMENTED: unknown service x / Method not found (API)12 UNIMPLEMENTED

Directly related (12)

Missing Authentication TokenAuthentication

{"message":"Missing Authentication Token"} / No authorization token was found

The request reached a protected endpoint without credentials — or, on AWS API Gateway, it hit a path/method that doesn’t exist.

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.

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.

Missing Authorization HeaderAuthentication

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

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

20003API

Twilio: Error 20003 Authenticate — Your AccountSid or AuthToken was incorrect

Twilio rejected the Account SID / Auth Token pair used for the request.

Authentication failedAPI

Razorpay: BAD_REQUEST_ERROR — Authentication failed (401)

Razorpay rejected the key id/secret pair.

Given token not validAuthentication

{"detail":"Given token not valid for any token type","code":"token_not_valid"}

Simple JWT could not accept the token — it is expired, signed with a different key or of the wrong type.

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.

authentication_errorAPI

LLM API: 401 authentication_error — invalid x-api-key / Incorrect API key provided

The LLM provider rejected your key.

UNAUTHENTICATEDAPI

gRPC Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials

The gRPC server rejected missing or invalid credentials.

Two steps away (34)

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.

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

NotAllowedError (WebAuthn)Authentication

WebAuthn / Passkeys: NotAllowedError: The operation either timed out or was not allowed

The browser refused the passkey/WebAuthn ceremony — the user cancelled, it timed out, no matching credential, or the call wasn’t…

parameter_missingAPI

API Error: Missing required parameter (parameter_missing / "x" is required)

The API rejected the request because a field it requires — in the query string, path, headers or JSON body — wasn’t sent or was e…

AADSTS50055Azure

AADSTS50055: The password is expired

The user’s password expired under the tenant/on-prem password policy and must be changed before signing in.

relying party ID is not a registrable domain suffixAuthentication

WebAuthn: SecurityError: The relying party ID is not a registrable domain suffix of, nor equal to the current domain

The rp.id in the WebAuthn options doesn’t match the page’s domain (or a parent domain), so the browser rejects it.

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

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…

MessageRejectedAWS

SES MessageRejected: Email address is not verified. The following identities failed the check in region

SES refused to send because the From address/domain isn’t verified — or the account is still in the SES sandbox, where recipients…

auth/invalid-credentialAuthentication

Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials)

Firebase rejected the email/password sign-in — wrong password, no such user, or a provider credential that’s malformed/expired.

Email not confirmedAuthentication

Supabase Auth: AuthApiError: Email not confirmed

The account exists, but email confirmation is enabled and the user hasn’t clicked the confirmation link.

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.

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.

concurrent_requests_limitAPI

API Error: Too many concurrent requests (concurrency limit reached)

You have more requests in flight at once than the API allows for your key — even if your requests-per-minute rate is fine.

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.

21211API

Twilio: Error 21211 — The 'To' number is not a valid phone number

The destination number is not in valid E.164 format or not a real number.

signature mismatchAPI

Razorpay: Payment signature verification failed (razorpay_signature mismatch)

The signature you computed from order_id, payment_id and secret does not match the one returned.

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.

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.

Bad credentialsAuthentication

Spring Security: BadCredentialsException: Bad credentials

Spring Security found the user but the supplied password did not match the stored hash, or the user was not found.

AUTH_USER_MODELAuthentication

ImproperlyConfigured: AUTH_USER_MODEL refers to model 'x.User' that has not been installed

Django's `AUTH_USER_MODEL` points at a model Django cannot load, usually because the app is not in `INSTALLED_APPS` or the label…

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.

context_length_exceededAPI

LLM API: This model's maximum context length is x tokens. However, your messages resulted in y tokens (context_length_exceeded / prompt is too long)

The prompt plus requested output exceed the model’s context window.

insufficient_quotaAPI

LLM API: You exceeded your current quota, please check your plan and billing details (insufficient_quota / credit balance is too low)

The account has no remaining credits or reached its spending limit, so requests are rejected (often as 429).

model_not_foundAPI

LLM API: The model `x` does not exist or you do not have access to it (model_not_found / not_found_error)

The model name is wrong, deprecated/retired, or not available to your account/region.

14 UNAVAILABLEAPI

gRPC Error: 14 UNAVAILABLE: No connection established / failed to connect to all addresses

The gRPC client couldn’t reach the server — wrong address/port, TLS vs plaintext mismatch, server down, or a proxy that doesn’t s…

DEADLINE_EXCEEDEDAPI

gRPC Error: 4 DEADLINE_EXCEEDED: Deadline exceeded

The call didn’t complete before the client’s deadline — slow server, network issues, or a deadline that’s too short.

12 UNIMPLEMENTEDAPI

gRPC Error: 12 UNIMPLEMENTED: unknown service x / Method not found

The server doesn’t have the service or method the client called — proto mismatch, wrong package name, or calling the wrong server.