Error map
InvalidPasswordException AWS Cognito: InvalidPasswordException: Password did not conform with policy
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)
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.
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.
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.
AWS Cognito: LimitExceededException: Attempt limit exceeded, please try after some time
Cognito throttled repeated sign-in, code or reset attempts.
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.
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.
AWS Cognito: CodeMismatchException: Invalid verification code provided, please try again
The confirmation or MFA code entered does not match what Cognito sent.
AWS Cognito: ExpiredCodeException: Invalid code provided, please request a code again
The verification code has expired or was already used.
AWS Cognito: UsernameExistsException: User already exists
A sign-up used a username or email that is already registered.
AWS Cognito: NotAuthorizedException: Refresh Token has been revoked
The Cognito refresh token was revoked by sign-out or admin action.
Keycloak: invalid_grant — Invalid user credentials
Keycloak rejected the username/password in a password grant.
Two steps away (28)
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…
{"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.
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…
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.
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…
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.
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: 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.
ValidationError: User validation failed: email: Path `email` is required.
A document failed Mongoose schema validation before saving.
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.
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.
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.
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.
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.
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 required to access this resource (401)
The request reached a protected Spring endpoint without valid credentials, so the entry point answers 401.
[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_found] Spring OAuth2 login callback
Spring could not find the saved authorisation request when the provider redirected back, so the login cannot be completed.
Spring: Required request parameter 'x' is not present (400)
A mandatory `@RequestParam` is missing.
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.
Supabase: AuthApiError: User already registered
Sign-up used an email that already exists.
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.
Supabase: AuthApiError: Invalid Refresh Token: Refresh Token Not Found
The stored refresh token is unknown or already used.
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.
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…
Keycloak: unauthorized_client — Invalid client or Invalid client credentials
The Keycloak client id or secret does not match.