Error map

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

Authentication · layer 4, Application & API

Open the full error page →

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

CodeMismatchException — AWS Cognito: CodeMismatchException: Invalid verification code provided, please try again (Authentication)CodeMismatc…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…LimitExceededException — AWS Cognito: LimitExceededException: Attempt limit exceeded, please try after some time (Authentication)LimitExceededExcept…ExpiredCodeException — AWS Cognito: ExpiredCodeException: Invalid code provided, please request a code again (Authentication)ExpiredCodeExceptionUsernameExistsException — AWS Cognito: UsernameExistsException: User already exists (Authentication)UsernameExistsExcep…InvalidPasswordException — AWS Cognito: InvalidPasswordException: Password did not conform with policy (Authentication)InvalidPasswordExce…Refresh Token has been revoked — AWS Cognito: NotAuthorizedException: Refresh Token has been revoked (Authentication)Refresh Token has b…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…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 limitsauth/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…auth/weak-password — Firebase Auth: auth/weak-password — Password should be at least 6 characters (Google Cloud / Firebase)auth/weak-passwordBad credentials — Spring Security: BadCredentialsException: Bad credentials (Authentication)Bad credentialsno PasswordEncoder — IllegalArgumentException: There is no PasswordEncoder mapped for the id "null" (Authentication)no PasswordEncoderUnknown 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…

Directly related (8)

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.

LimitExceededExceptionAuthentication

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

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

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.

InvalidPasswordExceptionAuthentication

AWS Cognito: InvalidPasswordException: Password did not conform with policy

The password does not meet the user pool's password policy.

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.

Two steps away (19)

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…

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.

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.

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.

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.

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.