Error map

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

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.

no PasswordEncoder — IllegalArgumentException: There is no PasswordEncoder mapped for the id "null" (Authentication)no Password…Access is denied — AccessDeniedException: Access is denied (Spring Security 403) (Authentication)Access is deniedMissingServletRequestParameterException — Spring: Required request parameter 'x' is not present (400) (API)MissingServletReque…Content type not supported — Spring: HttpMediaTypeNotSupportedException: Content type 'text/plain' not supported (415) (API)Content type not su…no suitable HttpMessageConverter — RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type and content type (API)no suitable HttpMes…Bad credentials — Spring Security: BadCredentialsException: Bad credentials (Authentication)Bad credentialsdoes not look like BCrypt — WARN: Encoded password does not look like BCrypt (Authentication)does not look like …Full 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…InvalidPasswordException — AWS Cognito: InvalidPasswordException: Password did not conform with policy (Authentication)InvalidPasswordExce…Invalid user credentials — Keycloak: invalid_grant — Invalid user credentials (Authentication)Invalid user creden…Request method not supported — Spring: HttpRequestMethodNotSupportedException: Request method 'POST' not supported (405) (API)Request method not …403 — HTTP 403 Forbidden (HTTP)403PERMISSION_DENIED — PERMISSION_DENIED: The caller does not have permission (insufficient permissions) (Authentication)PERMISSION_DENIED401 — 401 because the Authorization header is stripped (HTTP)401parameter_missing — API Error: Missing required parameter (parameter_missing / "x" is required) (API)parameter_missingHttpClientErrorException — org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized (API)HttpClientErrorExce…Location — 201 Created without a Location header (clients can't find the new resource) (HTTP)LocationUnexpected token < — SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (API)Unexpected token <No active account found — {"detail":"No active account found with the given credentials"} (Authentication)No active account f…Illegal arguments: undefined, string — bcrypt error: Illegal arguments: undefined, string / data and salt arguments required / data and hash arguments required (Authentication)Illegal arguments: …Missing Authentication Token — {"message":"Missing Authentication Token"} / No authorization token was found (Authentication)Missing Authenticat…401 — 401 Unauthorized without WWW-Authenticate header (HTTP)401401 — 401 Bearer error="invalid_token" (HTTP)401invalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantredirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientinvalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopeaccess_denied — OAuth 2.0 Error: access_denied (The user or authorization server denied the request) (Authentication)access_deniedunauthorized_client — OAuth 2.0 Error: unauthorized_client (client not allowed to use this grant type) (Authentication)unauthorized_clientNotAuthorizedException — AWS Cognito: NotAuthorizedException: Incorrect username or password (Authentication)NotAuthorizedExcept…UserNotConfirmedException — AWS Cognito: UserNotConfirmedException: User is not confirmed. (Authentication)UserNotConfirmedExc…Unable to verify secret hash for client — AWS Cognito: NotAuthorizedException: Unable to verify secret hash for client x (Authentication)Unable to verify se…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…auth/weak-password — Firebase Auth: auth/weak-password — Password should be at least 6 characters (Google Cloud / Firebase)auth/weak-password

Directly related (12)

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.

MissingServletRequestParameterExceptionAPI

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

A mandatory `@RequestParam` is missing.

Content type not supportedAPI

Spring: HttpMediaTypeNotSupportedException: Content type 'text/plain' not supported (415)

The controller does not consume the Content-Type sent.

no suitable HttpMessageConverterAPI

RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type and content type

Spring's RestTemplate could not convert the response body to the Java type you asked for.

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.

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.

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.

InvalidPasswordExceptionAuthentication

AWS Cognito: InvalidPasswordException: Password did not conform with policy

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

Invalid user credentialsAuthentication

Keycloak: invalid_grant — Invalid user credentials

Keycloak rejected the username/password in a password grant.

Request method not supportedAPI

Spring: HttpRequestMethodNotSupportedException: Request method 'POST' not supported (405)

The path exists but not for that HTTP method.

Two steps away (24)

403HTTP

HTTP 403 Forbidden

The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…

PERMISSION_DENIEDAuthentication

PERMISSION_DENIED: The caller does not have permission (insufficient permissions)

You are authenticated, but your identity isn’t allowed to perform this action on this resource.

401HTTP

401 because the Authorization header is stripped

The client sends credentials, but a proxy, CGI/FastCGI setup or redirect removes the Authorization header before your app sees it.

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…

HttpClientErrorExceptionAPI

org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized

The API answered with a 4xx status and Spring's RestTemplate converts that into an exception.

LocationHTTP

201 Created without a Location header (clients can't find the new resource)

The API created a resource but doesn't say where it lives, so clients must guess or re-query.

Unexpected token <API

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Your code called `response.json()` but the API returned an HTML page (usually an error page), not JSON.

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.

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.

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.

401HTTP

401 Unauthorized without WWW-Authenticate header

The server answered 401 but didn't say which authentication scheme to use.

401HTTP

401 Bearer error="invalid_token"

The API rejected the bearer token as expired, malformed, revoked or not meant for this API.

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…

redirect_uri_mismatchAuthentication

OAuth Error: redirect_uri_mismatch

The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.

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_scopeAuthentication

OAuth 2.0 Error: invalid_scope / insufficient_scope

The requested scope is unknown or not allowed for this client — or the token lacks the scope the API endpoint requires.

access_deniedAuthentication

OAuth 2.0 Error: access_denied (The user or authorization server denied the request)

The authorization request was refused — the user clicked Cancel/Deny on the consent screen, or a policy denied access.

unauthorized_clientAuthentication

OAuth 2.0 Error: unauthorized_client (client not allowed to use this grant type)

The client exists, but isn’t allowed to use the requested flow (grant type or response type).

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.

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.

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…

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.