Error map

Input string was not in a correct format System.FormatException: Input string was not in a correct format

.NET · layer 4, Application & API

Open the full error page →

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

Input string was not in a correct format — System.FormatException: Input string was not in a correct format (.NET)Input strin…Unable to cast object of type — System.InvalidCastException: Unable to cast object of type 'X' to type 'Y' (.NET)Unable to cast obje…invalid time value — RangeError: Invalid time value (JavaScript)invalid time valueNumberFormatException — java.lang.NumberFormatException: For input string: "x" (Java)NumberFormatExcepti…ValueError — ValueError: invalid literal for int() with base 10: 'abc' (Python)ValueErrorInputMismatchException — java.util.InputMismatchException (Scanner) (Java)InputMismatchExcept…DateTimeParseException — java.time.format.DateTimeParseException: Text '31/12/2024' could not be parsed at index 2 (Java)DateTimeParseExcept…Unparseable date — java.text.ParseException: Unparseable date: "x" (Java)Unparseable dateAttributeError — AttributeError: 'X' object has no attribute 'y' (Python)AttributeErrorClassCastException — java.lang.ClassCastException: class A cannot be cast to class B (Java)ClassCastExceptionIllegalArgumentException — java.lang.IllegalArgumentException (Java)IllegalArgumentExce…1292 — MySQL ERROR 1292 (22007): Incorrect datetime value: 'x' for column 'y' (MySQL)129222008 — ERROR: date/time field value out of range: "31/12/2024" — HINT: Perhaps you need a different "datestyle" setting. (PostgreSQL)22008invalid_date — API Error: Invalid date format — expected ISO 8601 (YYYY-MM-DDTHH:mm:ssZ) (API)invalid_date422 — HTTP 422 Unprocessable Content (HTTP)422KeyError — KeyError: 'x' (Python)KeyErrorNullPointerException — java.lang.NullPointerException (Java)NullPointerExceptionTypeError operand — TypeError: unsupported operand type(s) for +: 'int' and 'str' (Python)TypeError operandArithmeticException — java.lang.ArithmeticException: / by zero (Java)ArithmeticExceptionAccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…JsonSyntaxException: Expected BEGIN_ARRAY but was BEGIN_OBJECT — com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ (Android)JsonSyntaxException…date format — Dates mixed up: dd/mm/yyyy vs mm/dd/yyyy, ISO 8601 recommended (SQL)date formatORA-01843 — ORA-01843: not a valid month (SQL)ORA-01843ORA-01861 — ORA-01861: literal does not match format string (SQL)ORA-01861error 9 — openssl verify error:num=9:certificate is not yet valid (SSL / TLS)error 9MissingFieldException: 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…

Directly related (7)

Two steps away (18)

AttributeErrorPython

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

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

ClassCastExceptionJava

java.lang.ClassCastException: class A cannot be cast to class B

An object was cast to a type it isn’t.

IllegalArgumentExceptionJava

java.lang.IllegalArgumentException

A method rejected an argument value as invalid.

1292MySQL

MySQL ERROR 1292 (22007): Incorrect datetime value: 'x' for column 'y'

A string couldn’t be converted to DATE/DATETIME — wrong format, empty string, or a zero date in strict mode.

22008PostgreSQL

ERROR: date/time field value out of range: "31/12/2024" — HINT: Perhaps you need a different "datestyle" setting.

PostgreSQL parsed a date in the wrong order (DMY vs MDY) or got an impossible value.

invalid_dateAPI

API Error: Invalid date format — expected ISO 8601 (YYYY-MM-DDTHH:mm:ssZ)

A date or timestamp in the request isn’t in the format the API expects — usually ISO 8601 with a time zone, or a Unix timestamp.

422HTTP

HTTP 422 Unprocessable Content

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

KeyErrorPython

KeyError: 'x'

You accessed a dictionary key that doesn’t exist.

NullPointerExceptionJava

java.lang.NullPointerException

Code called a method or accessed a field on a reference that is `null`.

TypeError operandPython

TypeError: unsupported operand type(s) for +: 'int' and 'str'

An operator was used between two incompatible types, such as adding a number to a string.

ArithmeticExceptionJava

java.lang.ArithmeticException: / by zero

Integer division or modulo by zero.

AccessDeniedExceptionJava

java.nio.file.AccessDeniedException: /path

The OS denied a file operation to the Java process.

JsonSyntaxException: Expected BEGIN_ARRAY but was BEGIN_OBJECTAndroid

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $

The JSON shape doesn't match the model: an object arrived where a list was expected.

date formatSQL

Dates mixed up: dd/mm/yyyy vs mm/dd/yyyy, ISO 8601 recommended

A date string like 03/04/2026 is read as March 4th or April 3rd depending on locale, so rows get wrong dates or conversion errors.

ORA-01843SQL

ORA-01843: not a valid month

A date string couldn't be parsed because the month part doesn't match the expected format.

ORA-01861SQL

ORA-01861: literal does not match format string

A date/time string doesn't exactly match the format mask used to parse it.

error 9SSL / TLS

openssl verify error:num=9:certificate is not yet valid

The certificate's notBefore date is in the future from the verifier's point of view.

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.