Error map

HttpMessageNotReadableException HttpMessageNotReadableException: JSON parse error / Required request body is missing

Java · 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.

HttpMessageNotReadableException — HttpMessageNotReadableException: JSON parse error / Required request body is missing (Java)HttpMessage…400 — HTTP 400 Bad Request (HTTP)400Whitelabel Error Page — Whitelabel Error Page — This application has no explicit mapping for /error (Java)Whitelabel Error Pa…DataSource url not specified — Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. (Java)DataSource url not …MethodArgumentNotValidException — MethodArgumentNotValidException: Validation failed for argument [0] (Java)MethodArgumentNotVa…entity.parse.failed — API Error: Malformed JSON in request body (entity.parse.failed / JSON parse error) (API)entity.parse.failedjson_decode null — json_decode() returns null / JSON_ERROR_SYNTAX: Syntax error (PHP)json_decode nullnot JSON serializable — TypeError: Object of type datetime is not JSON serializable (Python)not JSON serializab…MismatchedInputException — com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList` from Object value (Java)MismatchedInputExce…UnrecognizedPropertyException — com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "x", not marked as ignorable (Java)UnrecognizedPropert…InvalidDefinitionException — com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class X and no properties discovered (Java)InvalidDefinitionEx…JSONDecodeError — json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (Python)JSONDecodeErroris an invalid start of a value — System.Text.Json: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0 (.NET)is an invalid start…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)404500 — HTTP 500 Internal Server Error (HTTP)500UnsatisfiedDependencyException — UnsatisfiedDependencyException / NoSuchBeanDefinitionException: No qualifying bean of type 'X' available (Java)UnsatisfiedDependen…redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…divergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchesLF/CRLF warning — warning: in the working copy of 'x', LF will be replaced by CRLF the next time Git touches it (Git)LF/CRLF warning422 — HTTP 422 Unprocessable Content (HTTP)422NumberFormatException — java.lang.NumberFormatException: For input string: "x" (Java)NumberFormatExcepti…IllegalArgumentException — java.lang.IllegalArgumentException (Java)IllegalArgumentExce…415 — HTTP 415 Unsupported Media Type (HTTP)415SyntaxError: JSON — SyntaxError: Unexpected token < in JSON at position 0 (JavaScript)SyntaxError: JSON411 — HTTP 411 Length Required (HTTP)411circular JSON — TypeError: Converting circular structure to JSON (JavaScript)circular JSONunexpected end of input — SyntaxError: Unexpected end of input (JavaScript)unexpected end of i…The JSON value could not be converted — System.Text.Json.JsonException: The JSON value could not be converted to System.Int32. Path: $.id (.NET)The JSON value coul…JsonException object cycle — JsonException: A possible object cycle was detected (.NET)JsonException objec…Unexpected character encountered while parsing value — Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0 (.NET)Unexpected characte…serialization — BigQuery: Could not serialize access to table due to concurrent update (Google Cloud / Firebase)serializationEJSONPARSE — npm ERR! code EJSONPARSE — Failed to parse json / Unexpected token in JSON at position (npm)EJSONPARSEMissingFieldException: Field 'x' is required — kotlinx.serialization.MissingFieldException: Field 'id' is required for type with serial name 'com.example.User', but it was missing (Android)MissingFieldExcepti…LazyInitializationException — org.hibernate.LazyInitializationException: could not initialize proxy - no Session (Java)LazyInitializationE…DecodingError — Swift DecodingError: keyNotFound / typeMismatch / valueNotFound / dataCorrupted (iOS)DecodingErrorBOM — JSON parse error caused by a UTF-8 BOM or stray output before the body (HTTP)BOMThe SSL connection could not be established — HttpRequestException: The SSL connection could not be established, see inner exception. (AuthenticationException: The remote certificate is invalid) (.NET)The SSL connection …actively refused it — HttpRequestException: No connection could be made because the target machine actively refused it (localhost:5001) (.NET)actively refused itHttpClient.Timeout — TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing (.NET)HttpClient.Timeout

Directly related (12)

400HTTP

HTTP 400 Bad Request

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

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).

DataSource url not specifiedJava

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Spring Boot found JDBC/JPA on the classpath but no database URL.

MethodArgumentNotValidExceptionJava

MethodArgumentNotValidException: Validation failed for argument [0]

Bean Validation (@Valid with @NotNull, @Email, @Size…) rejected the request body.

entity.parse.failedAPI

API Error: Malformed JSON in request body (entity.parse.failed / JSON parse error)

The server couldn’t parse the request body as JSON, so it rejected the request before looking at any field.

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.

not JSON serializablePython

TypeError: Object of type datetime is not JSON serializable

json.dumps() met a type it doesn’t know how to encode (datetime, Decimal, set, custom objects).

MismatchedInputExceptionJava

com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList` from Object value

Jackson found JSON whose shape doesn’t match the target Java type (object vs array, string vs number, missing constructor).

UnrecognizedPropertyExceptionJava

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "x", not marked as ignorable

The JSON contains a field your Java class doesn’t have, and Jackson is configured to fail on unknown properties.

InvalidDefinitionExceptionJava

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class X and no properties discovered

Jackson can’t serialize the class — it has no public getters/fields, or it’s a Hibernate proxy, or Java 8 date types without the…

JSONDecodeErrorPython

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The text passed to json.loads() isn’t JSON — at char 0 it’s usually empty or HTML.

is an invalid start of a value.NET

System.Text.Json: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0

The response wasn’t JSON — usually an HTML error page, login redirect, or an empty body was passed to the JSON deserializer.

Two steps away (29)

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.

500HTTP

HTTP 500 Internal Server Error

The server hit an unexpected condition — usually an unhandled exception or misconfiguration in the application.

UnsatisfiedDependencyExceptionJava

UnsatisfiedDependencyException / NoSuchBeanDefinitionException: No qualifying bean of type 'X' available

Spring couldn’t find (or choose) a bean to inject.

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.

divergent branchesGit

hint: You have divergent branches and need to specify how to reconcile them.

Git 2.27+ asks you to choose merge, rebase or fast-forward-only when local and remote both have new commits.

LF/CRLF warningGit

warning: in the working copy of 'x', LF will be replaced by CRLF the next time Git touches it

Git’s line-ending conversion (core.autocrlf) will change line endings in your working copy.

422HTTP

HTTP 422 Unprocessable Content

The request is well-formed, but the data fails validation (e.g. invalid email, missing required field).

NumberFormatExceptionJava

java.lang.NumberFormatException: For input string: "x"

A string couldn’t be parsed as a number — it’s empty, has spaces/commas, is too large, or isn’t numeric.

IllegalArgumentExceptionJava

java.lang.IllegalArgumentException

A method rejected an argument value as invalid.

415HTTP

HTTP 415 Unsupported Media Type

The server refuses the request because the body’s Content-Type isn’t one it accepts.

SyntaxError: JSONJavaScript

SyntaxError: Unexpected token < in JSON at position 0

`JSON.parse()` / `response.json()` received something that isn’t JSON — very often an HTML error page.

411HTTP

HTTP 411 Length Required

The server refuses a request with a body but no Content-Length header.

circular JSONJavaScript

TypeError: Converting circular structure to JSON

JSON.stringify met an object that references itself (directly or through children).

unexpected end of inputJavaScript

SyntaxError: Unexpected end of input

The parser reached the end of the code (or JSON) while still expecting more — a missing } ) ] or empty JSON.

The JSON value could not be converted.NET

System.Text.Json.JsonException: The JSON value could not be converted to System.Int32. Path: $.id

System.Text.Json couldn’t map a JSON value to the target .NET type — e.g. "42" (string) to int, null to a non-nullable type, or w…

JsonException object cycle.NET

JsonException: A possible object cycle was detected

System.Text.Json found a reference loop (e.g. Order → Customer → Orders → …) while serialising, usually from EF Core navigation p…

Unexpected character encountered while parsing value.NET

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0

Json.NET was given text that isn’t valid JSON — commonly HTML, a BOM, or an already-serialized string.

serializationGoogle Cloud / Firebase

BigQuery: Could not serialize access to table due to concurrent update

Two DML statements changed the same table at the same time, so one was aborted.

EJSONPARSEnpm

npm ERR! code EJSONPARSE — Failed to parse json / Unexpected token in JSON at position

package.json (or package-lock.json) contains invalid JSON.

MissingFieldException: Field 'x' is requiredAndroid

kotlinx.serialization.MissingFieldException: Field 'id' is required for type with serial name 'com.example.User', but it was missing

A required property wasn't present in the JSON being decoded.

LazyInitializationExceptionJava

org.hibernate.LazyInitializationException: could not initialize proxy - no Session

A lazy-loaded association was accessed after the Hibernate session/transaction closed.

DecodingErroriOS

Swift DecodingError: keyNotFound / typeMismatch / valueNotFound / dataCorrupted

JSONDecoder couldn’t map the JSON to your Codable type — a key is missing, a value has a different type or is null, or the data i…

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.

The SSL connection could not be established.NET

HttpRequestException: The SSL connection could not be established, see inner exception. (AuthenticationException: The remote certificate is invalid)

HttpClient couldn’t complete the TLS handshake — untrusted/self-signed certificate, name mismatch, expired certificate, or TLS ve…

actively refused it.NET

HttpRequestException: No connection could be made because the target machine actively refused it (localhost:5001)

Nothing is listening on the host/port the client called — the API isn’t running, uses another port, or the container/network addr…

HttpClient.Timeout.NET

TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing

The HTTP call took longer than HttpClient.Timeout (100 s default), so .NET cancelled it.