Error map
Request method not supported Spring: HttpRequestMethodNotSupportedException: Request method 'POST' not supported (405)
API · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (11). 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 (11)
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.
Spring: Required request parameter 'x' is not present (400)
A mandatory `@RequestParam` is missing.
Spring: HttpMediaTypeNotSupportedException: Content type 'text/plain' not supported (415)
The controller does not consume the Content-Type sent.
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.
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.
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 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.
org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized
The API answered with a 4xx status and Spring's RestTemplate converts that into an exception.
Two steps away (20)
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_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.
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.
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…
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.
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.
{"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.
AWS Cognito: InvalidPasswordException: Password did not conform with policy
The password does not meet the user pool's password policy.
Keycloak: invalid_grant — Invalid user credentials
Keycloak rejected the username/password in a password grant.
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.
{"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.
401 Unauthorized without WWW-Authenticate header
The server answered 401 but didn't say which authentication scheme to use.
401 Bearer error="invalid_token"
The API rejected the bearer token as expired, malformed, revoked or not meant for this API.
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…
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.
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…
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.
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.
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).
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…