Error map

InvalidPasswordException AWS Cognito: InvalidPasswordException: Password did not conform with policy

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.

InvalidPasswordException — AWS Cognito: InvalidPasswordException: Password did not conform with policy (Authentication)InvalidPass…Unable to verify secret hash for client — AWS Cognito: NotAuthorizedException: Unable to verify secret hash for client x (Authentication)Unable to verify se…NotAuthorizedException — AWS Cognito: NotAuthorizedException: Incorrect username or password (Authentication)NotAuthorizedExcept…UserNotConfirmedException — AWS Cognito: UserNotConfirmedException: User is not confirmed. (Authentication)UserNotConfirmedExc…auth/weak-password — Firebase Auth: auth/weak-password — Password should be at least 6 characters (Google Cloud / Firebase)auth/weak-passwordLimitExceededException — AWS Cognito: LimitExceededException: Attempt limit exceeded, please try after some time (Authentication)LimitExceededExcept…Bad credentials — Spring Security: BadCredentialsException: Bad credentials (Authentication)Bad credentialsno PasswordEncoder — IllegalArgumentException: There is no PasswordEncoder mapped for the id "null" (Authentication)no PasswordEncoderCodeMismatchException — AWS Cognito: CodeMismatchException: Invalid verification code provided, please try again (Authentication)CodeMismatchExcepti…ExpiredCodeException — AWS Cognito: ExpiredCodeException: Invalid code provided, please request a code again (Authentication)ExpiredCodeExceptionUsernameExistsException — AWS Cognito: UsernameExistsException: User already exists (Authentication)UsernameExistsExcep…Refresh Token has been revoked — AWS Cognito: NotAuthorizedException: Refresh Token has been revoked (Authentication)Refresh Token has b…Invalid user credentials — Keycloak: invalid_grant — Invalid user credentials (Authentication)Invalid user creden…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientMissing Authentication Token — {"message":"Missing Authentication Token"} / No authorization token was found (Authentication)Missing Authenticat…invalid two-factor code — Two-factor (TOTP) code invalid / Invalid verification code (authenticator app time drift) (Authentication)invalid two-factor …publickey — 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)401MessageRejected — SES MessageRejected: Email address is not verified. The following identities failed the check in region (AWS)MessageRejectedIllegal arguments: undefined, string — bcrypt error: Illegal arguments: undefined, string / data and salt arguments required / data and hash arguments required (Authentication)Illegal arguments: …NotAllowedError (WebAuthn) — WebAuthn / Passkeys: NotAllowedError: The operation either timed out or was not allowed (Authentication)NotAllowedError (We…CastError ObjectId — CastError: Cast to ObjectId failed for value "x" (type string) at path "_id" (Node.js)CastError ObjectIdMongoose ValidationError — ValidationError: User validation failed: email: Path `email` is required. (Node.js)Mongoose Validation…Pydantic ValidationError — pydantic_core._pydantic_core.ValidationError: 1 validation error for Model (Python)Pydantic Validation…429 RESOURCE_EXHAUSTED: Quota exceeded for quota metric — Google API: 429 RESOURCE_EXHAUSTED — Quota exceeded for quota metric 'Read requests' and limit 'Read requests per minute per user' (Google Cloud / Firebase)429 RESOURCE_EXHAUS…429 — Cloud Storage 429: rate of change requests to a single object exceeded (1 write per second) (Google Cloud / Firebase)429DML limits — BigQuery: Exceeded rate limits — too many concurrent DML statements / table update operations (Google Cloud / Firebase)DML limitsdoes not look like BCrypt — WARN: Encoded password does not look like BCrypt (Authentication)does not look like …Access is denied — AccessDeniedException: Access is denied (Spring Security 403) (Authentication)Access is deniedFull authentication is required — Full authentication is required to access this resource (401) (Authentication)Full authentication…invalid_token_response — [invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0 Access Token Response (Authentication)invalid_token_respo…authorization_request_not_found — [authorization_request_not_found] Spring OAuth2 login callback (Authentication)authorization_reque…MissingServletRequestParameterException — Spring: Required request parameter 'x' is not present (400) (API)MissingServletReque…auth/email-already-in-use — Firebase Auth: auth/email-already-in-use — The email address is already in use by another account (Google Cloud / Firebase)auth/email-already-…User already registered — Supabase: AuthApiError: User already registered (Authentication)User already regist…Unknown or invalid refresh token — Auth0: invalid_grant — Unknown or invalid refresh token (Authentication)Unknown or invalid …Refresh Token Not Found — Supabase: AuthApiError: Invalid Refresh Token: Refresh Token Not Found (Authentication)Refresh Token Not F…Invalid parameter: redirect_uri — Keycloak: We are sorry... Invalid parameter: redirect_uri (Authentication)Invalid parameter: …Account is not fully set up — Keycloak: invalid_grant — Account is not fully set up (Authentication)Account is not full…Invalid client or Invalid client credentials — Keycloak: unauthorized_client — Invalid client or Invalid client credentials (Authentication)Invalid client or I…

Directly related (12)

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.

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.

auth/weak-passwordGoogle Cloud / Firebase

Firebase Auth: auth/weak-password — Password should be at least 6 characters

The password doesn't meet Firebase's (or your project's) password policy.

LimitExceededExceptionAuthentication

AWS Cognito: LimitExceededException: Attempt limit exceeded, please try after some time

Cognito throttled repeated sign-in, code or reset attempts.

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.

no PasswordEncoderAuthentication

IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"

Spring Security's delegating encoder expects stored passwords to start with `{id}` such as `{bcrypt}`; yours has no prefix.

CodeMismatchExceptionAuthentication

AWS Cognito: CodeMismatchException: Invalid verification code provided, please try again

The confirmation or MFA code entered does not match what Cognito sent.

ExpiredCodeExceptionAuthentication

AWS Cognito: ExpiredCodeException: Invalid code provided, please request a code again

The verification code has expired or was already used.

UsernameExistsExceptionAuthentication

AWS Cognito: UsernameExistsException: User already exists

A sign-up used a username or email that is already registered.

Refresh Token has been revokedAuthentication

AWS Cognito: NotAuthorizedException: Refresh Token has been revoked

The Cognito refresh token was revoked by sign-out or admin action.

Invalid user credentialsAuthentication

Keycloak: invalid_grant — Invalid user credentials

Keycloak rejected the username/password in a password grant.

Two steps away (28)

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…

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.

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…

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.

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…

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.

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…

CastError ObjectIdNode.js

CastError: Cast to ObjectId failed for value "x" (type string) at path "_id"

A value that isn’t a valid 24-hex-character ObjectId was used in an _id query.

Mongoose ValidationErrorNode.js

ValidationError: User validation failed: email: Path `email` is required.

A document failed Mongoose schema validation before saving.

Pydantic ValidationErrorPython

pydantic_core._pydantic_core.ValidationError: 1 validation error for Model

Data didn’t match a Pydantic model — a field is missing, has the wrong type, or fails a constraint.

429 RESOURCE_EXHAUSTED: Quota exceeded for quota metricGoogle Cloud / Firebase

Google API: 429 RESOURCE_EXHAUSTED — Quota exceeded for quota metric 'Read requests' and limit 'Read requests per minute per user'

Your project or user exceeded an API rate or daily quota.

429Google Cloud / Firebase

Cloud Storage 429: rate of change requests to a single object exceeded (1 write per second)

The same object name is being written (or its metadata updated) too often.

DML limitsGoogle Cloud / Firebase

BigQuery: Exceeded rate limits — too many concurrent DML statements / table update operations

Too many UPDATE/DELETE/MERGE statements (or table metadata updates) hit the same table at once.

does not look like BCryptAuthentication

WARN: Encoded password does not look like BCrypt

BCryptPasswordEncoder was asked to match a stored value that is not a BCrypt hash, so login always fails.

Access is deniedAuthentication

AccessDeniedException: Access is denied (Spring Security 403)

The user is authenticated but lacks the role or authority required for the endpoint, so Spring returns 403.

Full authentication is requiredAuthentication

Full authentication is required to access this resource (401)

The request reached a protected Spring endpoint without valid credentials, so the entry point answers 401.

invalid_token_responseAuthentication

[invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0 Access Token Response

Spring's OAuth2 client could not exchange the authorisation code for a token — the token request failed or the response could not…

authorization_request_not_foundAuthentication

[authorization_request_not_found] Spring OAuth2 login callback

Spring could not find the saved authorisation request when the provider redirected back, so the login cannot be completed.

MissingServletRequestParameterExceptionAPI

Spring: Required request parameter 'x' is not present (400)

A mandatory `@RequestParam` is missing.

auth/email-already-in-useGoogle Cloud / Firebase

Firebase Auth: auth/email-already-in-use — The email address is already in use by another account

Sign-up failed because an account with that email already exists.

User already registeredAuthentication

Supabase: AuthApiError: User already registered

Sign-up used an email that already exists.

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.

Refresh Token Not FoundAuthentication

Supabase: AuthApiError: Invalid Refresh Token: Refresh Token Not Found

The stored refresh token is unknown or already used.

Invalid parameter: redirect_uriAuthentication

Keycloak: We are sorry... Invalid parameter: redirect_uri

The redirect_uri in the login request isn’t in the Keycloak client’s Valid Redirect URIs.

Account is not fully set upAuthentication

Keycloak: invalid_grant — Account is not fully set up

The user has pending required actions (verify email, update password, configure OTP), so non-interactive token requests (password…

Invalid client or Invalid client credentialsAuthentication

Keycloak: unauthorized_client — Invalid client or Invalid client credentials

The Keycloak client id or secret does not match.