Error map

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

HTTP · layer 2, Network

Open the full error page →

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.

BOM — JSON parse error caused by a UTF-8 BOM or stray output before the body (HTTP)BOM400 — HTTP 400 Bad Request (HTTP)400URIError — URIError: URI malformed (JavaScript)URIErrorUnicodeDecodeError — UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte (Python)UnicodeDecodeErrorjson_decode null — json_decode() returns null / JSON_ERROR_SYNTAX: Syntax error (PHP)json_decode nullreq.body undefined — Express: req.body is undefined / {} (body parser missing) (Node.js)req.body undefinedUnicodeEncodeError — UnicodeEncodeError: 'charmap' codec can't encode character '\u2192' (Python)UnicodeEncodeErrorJSONDecodeError — json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (Python)JSONDecodeError203 — HTTP 203 Non-Authoritative Information (HTTP)203201 — HTTP 201 Created (HTTP)201202 — HTTP 202 Accepted (HTTP)202102 — HTTP 102 Processing (HTTP)102401 — 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)404AbortError — AbortError: The user aborted a request. / signal is aborted without reason (JavaScript)AbortErrorbody already used — TypeError: Failed to execute 'json' on 'Response': body stream already read (JavaScript)body already usedFileNotFoundException — java.io.FileNotFoundException: config.properties (No such file or directory) (Java)FileNotFoundExcepti…NoSuchFileException — java.nio.file.NoSuchFileException: /path/file (Java)NoSuchFileExceptionAccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…SyntaxError: JSON — SyntaxError: Unexpected token < in JSON at position 0 (JavaScript)SyntaxError: JSONMismatchedInputException — 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…MODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDSyntaxError import — SyntaxError: Cannot use import statement outside a module (Node.js)SyntaxError importERR_HTTP_HEADERS_SENT — Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client (Node.js)ERR_HTTP_HEADERS_SE…AttributeError — AttributeError: 'X' object has no attribute 'y' (Python)AttributeErrorBOM output — Unexpected characters at the top of the page / headers already sent by BOM (PHP)BOM output22021 — ERROR: invalid byte sequence for encoding "UTF8": 0x00 (PostgreSQL)22021InvalidDefinitionException — com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class X and no properties discovered (Java)InvalidDefinitionEx…HttpMessageNotReadableException — HttpMessageNotReadableException: JSON parse error / Required request body is missing (Java)HttpMessageNotReada…unexpected end of input — SyntaxError: Unexpected end of input (JavaScript)unexpected end of i…407 — HTTP 407 Proxy Authentication Required (HTTP)407304 — HTTP 304 Not Modified (HTTP)304200 — HTTP 200 OK (but something is still wrong) (HTTP)200409 — HTTP 409 Conflict (HTTP)409506 — HTTP 506 Variant Also Negotiates (HTTP)506204 — HTTP 204 No Content (HTTP)204UnhandledPromiseRejection — Node.js: [UnhandledPromiseRejection] — This error originated either by throwing inside of an async function without a catch block (Node.js)UnhandledPromiseRej…await outside async — SyntaxError: await is only valid in async functions and the top level bodies of modules (JavaScript)await outside asyncEvent loop is closed — RuntimeError: Event loop is closed (Python)Event loop is closed507 — HTTP 507 Insufficient Storage (HTTP)507100 — HTTP 100 Continue (HTTP)100103 — HTTP 103 Early Hints (HTTP)103

Directly related (11)

400HTTP

HTTP 400 Bad Request

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

URIErrorJavaScript

URIError: URI malformed

decodeURIComponent/decodeURI received an invalid percent-encoded sequence.

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

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.

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.

UnicodeEncodeErrorPython

UnicodeEncodeError: 'charmap' codec can't encode character '\u2192'

Python tried to write text in an encoding that can’t represent some characters — common in Windows consoles and files opened with…

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.

203HTTP

HTTP 203 Non-Authoritative Information

The request worked, but a proxy changed the response, so the content may differ from the origin's.

201HTTP

HTTP 201 Created

The request succeeded and a new resource was created, normally returned after POST or PUT.

202HTTP

HTTP 202 Accepted

The server accepted the request for processing, but the work is not finished yet.

102HTTP

HTTP 102 Processing

An interim WebDAV response saying the server accepted a long-running request and is still working on it.

Two steps away (33)

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.

AbortErrorJavaScript

AbortError: The user aborted a request. / signal is aborted without reason

A fetch was cancelled through an AbortController (or the browser cancelled it).

body already usedJavaScript

TypeError: Failed to execute 'json' on 'Response': body stream already read

A fetch Response body was consumed twice (e.g. calling .text() then .json()).

FileNotFoundExceptionJava

java.io.FileNotFoundException: config.properties (No such file or directory)

Java couldn’t open the file — wrong path relative to the working directory, missing file, or a classpath resource read as a file.

NoSuchFileExceptionJava

java.nio.file.NoSuchFileException: /path/file

An NIO Files operation targeted a path that doesn’t exist.

AccessDeniedExceptionJava

java.nio.file.AccessDeniedException: /path

The OS denied a file operation to the Java process.

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.

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.

MODULE_NOT_FOUNDNode.js

Error: Cannot find module 'x' (MODULE_NOT_FOUND)

Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.

SyntaxError importNode.js

SyntaxError: Cannot use import statement outside a module

An `import` statement ran in a context treated as CommonJS (Node without "type": "module", a browser script without type="module"…

ERR_HTTP_HEADERS_SENTNode.js

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

An Express/Node handler tried to send a second response (or set headers) after one was already sent.

AttributeErrorPython

AttributeError: 'X' object has no attribute 'y'

You accessed an attribute or method that doesn’t exist on that object type.

BOM outputPHP

Unexpected characters at the top of the page / headers already sent by BOM

A UTF-8 byte-order mark (BOM) at the start of a PHP file is sent as output, breaking headers, JSON and images.

22021PostgreSQL

ERROR: invalid byte sequence for encoding "UTF8": 0x00

Text contained bytes invalid in UTF-8 — often a NUL byte (0x00) or Latin-1/Windows-1252 data.

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…

HttpMessageNotReadableExceptionJava

HttpMessageNotReadableException: JSON parse error / Required request body is missing

Spring couldn’t read the request body into your @RequestBody object.

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.

407HTTP

HTTP 407 Proxy Authentication Required

A proxy between you and the server requires credentials before it will forward your request.

304HTTP

HTTP 304 Not Modified

The cached copy is still valid, so the server sends no body and the client reuses its cache.

200HTTP

HTTP 200 OK (but something is still wrong)

The request succeeded at the HTTP level — yet the page is blank, the data is wrong, or an error is hidden inside the response bod…

409HTTP

HTTP 409 Conflict

The request conflicts with the current state of the resource — e.g. a duplicate or an edit based on an outdated version.

506HTTP

HTTP 506 Variant Also Negotiates

The server's content-negotiation setup is circular, so it can't pick a representation.

204HTTP

HTTP 204 No Content

The request succeeded and the server intentionally sent no response body.

UnhandledPromiseRejectionNode.js

Node.js: [UnhandledPromiseRejection] — This error originated either by throwing inside of an async function without a catch block

A promise rejected and nothing handled it; since Node 15 this crashes the process.

await outside asyncJavaScript

SyntaxError: await is only valid in async functions and the top level bodies of modules

await was used inside a function that isn’t async (or in a classic, non-module script).

Event loop is closedPython

RuntimeError: Event loop is closed

Async code tried to use an event loop that has already been shut down.

507HTTP

HTTP 507 Insufficient Storage

The server can’t store what’s needed to complete the request — the disk, quota or mailbox is full.

100HTTP

HTTP 100 Continue

An interim response telling the client to go ahead and send the request body — normal when the client sent Expect: 100-continue.

103HTTP

HTTP 103 Early Hints

An interim response that sends Link headers early so the browser can preload CSS, fonts or scripts while the server is still buil…