Error map
credentials were not provided Authentication credentials were not provided (Django REST Framework 401/403)
Authentication · layer 4, Application & API
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.
Directly related (12)
{"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.
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.
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.
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…
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.
Flask-JWT-Extended: {"msg":"Missing Authorization Header"}
A route decorated with `@jwt_required()` was called without an Authorization header.
Twilio: Error 20003 Authenticate — Your AccountSid or AuthToken was incorrect
Twilio rejected the Account SID / Auth Token pair used for the request.
Razorpay: BAD_REQUEST_ERROR — Authentication failed (401)
Razorpay rejected the key id/secret pair.
{"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.
{"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.
LLM API: 401 authentication_error — invalid x-api-key / Incorrect API key provided
The LLM provider rejected your key.
gRPC Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials
The gRPC server rejected missing or invalid credentials.
Two steps away (34)
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.
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.
HTTP 401 Unauthorized
The request has no valid authentication credentials — you need to log in or send a valid token.
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…
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…
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…
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…
AADSTS50055: The password is expired
The user’s password expired under the tenant/on-prem password policy and must be changed before signing in.
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.
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_grant
The authorization code, refresh token or credentials sent to the token endpoint are invalid, expired, already used or were issued…
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…
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…
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.
Supabase Auth: AuthApiError: Email not confirmed
The account exists, but email confirmation is enabled and the user hasn’t clicked the confirmation link.
RuntimeError: Working outside of application context.
Code used current_app, g, or a Flask extension (like SQLAlchemy) without an active Flask application context.
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…
JsonWebTokenError: jwt must be provided
jwt.verify() was called with an empty value — the token never reached the server code.
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.
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.
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.
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.
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.
Error: secretOrPrivateKey must have a value (jsonwebtoken sign)
jwt.sign() got an empty secret — the environment variable holding the JWT secret isn’t loaded.
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.
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…
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.
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.
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).
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.
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…
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.
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.