Error map

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

API · layer 4, Application & API

Open the full error page →

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

Unexpected token < — SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (API)Unexpected …400 — HTTP 400 Bad Request (HTTP)400Cannot GET — API Error: Cannot GET /api/... / No route matches / The route could not be found (API)Cannot GETBOM — JSON parse error caused by a UTF-8 BOM or stray output before the body (HTTP)BOMsubscription key — Azure API Management: 401 Access denied due to missing subscription key (API)subscription keyno suitable HttpMessageConverter — RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type and content type (API)no suitable HttpMes…invalid_client — Google OAuth: Error 401: invalid_client — The OAuth client was not found (Authentication)invalid_clientincorrect_client_credentials — GitHub OAuth: {"error":"incorrect_client_credentials"} (Authentication)incorrect_client_cr…Invalid client or Invalid client credentials — Keycloak: unauthorized_client — Invalid client or Invalid client credentials (Authentication)Invalid client or I…Could not get any response — Postman: Error: connect ECONNREFUSED / Could not get any response (API)Could not get any r…401 — HTTP 401 Unauthorized (HTTP)401405 — HTTP 405 Method Not Allowed (HTTP)405413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413404 — HTTP 404 Not Found (HTTP)404Whitelabel Error Page — Whitelabel Error Page — This application has no explicit mapping for /error (Java)Whitelabel Error Pa…URIError — URIError: URI malformed (JavaScript)URIErrorreq.body undefined — Express: req.body is undefined / {} (body parser missing) (Node.js)req.body undefinedjson_decode null — json_decode() returns null / JSON_ERROR_SYNTAX: Syntax error (PHP)json_decode nullUnicodeDecodeError — UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte (Python)UnicodeDecodeErrorinvalid_api_key — API Error: Invalid API Key / Incorrect API key provided (API)invalid_api_keyjob not found — API Error: Job / operation not found or expired (async task ID unknown) (API)job not foundAADSTS50011 — AADSTS50011: The redirect URI specified in the request does not match the redirect URIs configured for the application (Authentication)AADSTS50011Location — 201 Created without a Location header (clients can't find the new resource) (HTTP)LocationBad credentials — Spring Security: BadCredentialsException: Bad credentials (Authentication)Bad credentialsno PasswordEncoder — IllegalArgumentException: There is no PasswordEncoder mapped for the id "null" (Authentication)no PasswordEncoderinvalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientAccess blocked: has not completed the Google verification process — Google OAuth: Error 403: access_denied — The developer hasn't given you access to this app / has not completed the Google verification process (Authentication)Access blocked: has…Google hasn't verified this app — Google OAuth: Google hasn't verified this app / This app isn't verified (Authentication)Google hasn't verif…bad_verification_code — GitHub OAuth: {"error":"bad_verification_code","error_description":"The code passed is incorrect or expired."} (Authentication)bad_verification_co…GitHub trigger — Cloud Build trigger doesn't fire or fails: GitHub connection/app not installed or repository not linked (Google Cloud / Firebase)GitHub triggeroffline — Firestore: Failed to get document because the client is offline (unavailable) (Google Cloud / Firebase)offlineInvalid 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 user credentials — Keycloak: invalid_grant — Invalid user credentials (Authentication)Invalid user creden…CERTIFICATE_VERIFY_FAILED — SSL: CERTIFICATE_VERIFY_FAILED / unable to get local issuer certificate (API)CERTIFICATE_VERIFY_…Cannot connect to host — aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.example.com:443 ssl:default (API)Cannot connect to h…ServerDisconnectedError — aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected (API)ServerDisconnectedE…

Directly related (9)

400HTTP

HTTP 400 Bad Request

The server could not understand the request because its syntax, headers or body are malformed or invalid.

Cannot GETAPI

API Error: Cannot GET /api/... / No route matches / The route could not be found

The server has no route for this URL and HTTP method combination — the endpoint path, API version prefix or method is wrong.

BOMHTTP

JSON parse error caused by a UTF-8 BOM or stray output before the body

The response looks like valid JSON but fails to parse because invisible bytes (BOM, whitespace, PHP notices) come first.

subscription keyAPI

Azure API Management: 401 Access denied due to missing subscription key

The request lacks the APIM subscription key.

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.

invalid_clientAuthentication

Google OAuth: Error 401: invalid_client — The OAuth client was not found

The client ID in the request does not exist in Google's records.

incorrect_client_credentialsAuthentication

GitHub OAuth: {"error":"incorrect_client_credentials"}

GitHub does not accept the client id/secret pair sent to the token endpoint.

Invalid client or Invalid client credentialsAuthentication

Keycloak: unauthorized_client — Invalid client or Invalid client credentials

The Keycloak client id or secret does not match.

Could not get any responseAPI

Postman: Error: connect ECONNREFUSED / Could not get any response

Postman could not reach the server at all, so there is no HTTP status to show.

Two steps away (27)

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

405HTTP

HTTP 405 Method Not Allowed

The URL exists, but it doesn’t accept the HTTP method you used (e.g. POST to a GET-only route).

413HTTP

HTTP 413 Content Too Large (Request Entity Too Large)

The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.

404HTTP

HTTP 404 Not Found

The server can’t find anything at the requested URL.

Whitelabel Error PageJava

Whitelabel Error Page — This application has no explicit mapping for /error

Spring Boot’s default error page — the request hit no controller mapping (404) or a controller threw (500).

URIErrorJavaScript

URIError: URI malformed

decodeURIComponent/decodeURI received an invalid percent-encoded sequence.

req.body undefinedNode.js

Express: req.body is undefined / {} (body parser missing)

Express didn’t parse the request body because no body-parsing middleware matched the request’s Content-Type.

json_decode nullPHP

json_decode() returns null / JSON_ERROR_SYNTAX: Syntax error

The string passed to json_decode isn’t valid JSON, so PHP returns null.

UnicodeDecodeErrorPython

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte

Python read bytes that aren’t valid in the encoding it assumed (usually UTF-8).

invalid_api_keyAPI

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…

job not foundAPI

API Error: Job / operation not found or expired (async task ID unknown)

The status URL or job ID for an asynchronous operation (export, import, render, batch) doesn’t exist any more, or never existed.

AADSTS50011Authentication

AADSTS50011: The redirect URI specified in the request does not match the redirect URIs configured for the application

Entra ID (Azure AD) rejected the sign-in because the redirect URI is not registered on the app registration.

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.

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.

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…

Access blocked: has not completed the Google verification processAuthentication

Google OAuth: Error 403: access_denied — The developer hasn't given you access to this app / has not completed the Google verification process

The Google OAuth app is in “Testing” publishing status and the signing-in account isn’t listed as a test user.

Google hasn't verified this appAuthentication

Google OAuth: Google hasn't verified this app / This app isn't verified

The OAuth app requests sensitive or restricted scopes and hasn’t passed Google’s verification, so users see a warning screen.

bad_verification_codeAuthentication

GitHub OAuth: {"error":"bad_verification_code","error_description":"The code passed is incorrect or expired."}

The authorization code sent to GitHub’s token endpoint was already used, expired (10 minutes), or belongs to another OAuth app.

GitHub triggerGoogle Cloud / Firebase

Cloud Build trigger doesn't fire or fails: GitHub connection/app not installed or repository not linked

A push or PR doesn't start a build, or the trigger shows a connection error with GitHub.

offlineGoogle Cloud / Firebase

Firestore: Failed to get document because the client is offline (unavailable)

The SDK couldn't reach Firestore, so a one-off `getDoc()` fails while a listener would serve cached data.

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 user credentialsAuthentication

Keycloak: invalid_grant — Invalid user credentials

Keycloak rejected the username/password in a password grant.

CERTIFICATE_VERIFY_FAILEDAPI

SSL: CERTIFICATE_VERIFY_FAILED / unable to get local issuer certificate

The client couldn’t verify the server’s TLS certificate chain, so it refused the HTTPS connection.

Cannot connect to hostAPI

aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.example.com:443 ssl:default

aiohttp could not open a connection to the host, and the text after `ssl:` and the OS error show why.

ServerDisconnectedErrorAPI

aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

The server closed an aiohttp connection while a request was in flight or a pooled connection was reused.