C# errors
High-intent troubleshooting for parsing and validation errors in C#. Use the exact error message and fix the first real issue.
Compact root: this runtime page shows up to 120 items per block. Use paged errors for the full list.
Jump to section
Top tools (local-only)
- JSON Validator
- JSON Repair
- YAML Validator
- CSV Validator
- XML to JSON
- Base64 Encode/Decode
- URL Encode/Decode
- JWT Decoder
JSON parse / deserialize errors
Most issues are not “bad JSON” but wrong content (HTML), truncation, extra characters, invalid escapes, or encoding.
- Additional text encountered after finished reading JSON content: ... Path '', line 1, position 10.
- After parsing a value an unexpected character was encountered: }. Path '', line 1, position 2.
- Error converting value "123" to type 'System.Boolean'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Boolean'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Boolean'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Boolean'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.DateTime'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.DateTime'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.DateTime'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.DateTime'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Decimal'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Decimal'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Decimal'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Decimal'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Double'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Double'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Double'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Double'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Guid'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Guid'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Guid'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Guid'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Int32'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Int32'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Int32'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Int32'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Int64'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Int64'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Int64'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Int64'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Net.IPAddress'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Net.IPAddress'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Net.IPAddress'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Net.IPAddress'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.TimeSpan'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.TimeSpan'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.TimeSpan'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.TimeSpan'. Path 'value', line 1, position 10.
- Error converting value "123" to type 'System.Uri'. Path 'id', line 1, position 10.
- Error converting value "123" to type 'System.Uri'. Path 'items[0].id', line 1, position 10.
- Error converting value "123" to type 'System.Uri'. Path 'user.id', line 1, position 10.
- Error converting value "123" to type 'System.Uri'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Boolean'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Boolean'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Boolean'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Boolean'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.DateTime'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.DateTime'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.DateTime'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.DateTime'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Decimal'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Decimal'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Decimal'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Decimal'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Double'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Double'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Double'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Double'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Guid'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Guid'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Guid'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Guid'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Int32'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Int32'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Int32'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Int32'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Int64'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Int64'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Int64'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Int64'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Net.IPAddress'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Net.IPAddress'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Net.IPAddress'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Net.IPAddress'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.TimeSpan'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.TimeSpan'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.TimeSpan'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.TimeSpan'. Path 'value', line 1, position 10.
- Error converting value "123.45" to type 'System.Uri'. Path 'id', line 1, position 10.
- Error converting value "123.45" to type 'System.Uri'. Path 'items[0].id', line 1, position 10.
- Error converting value "123.45" to type 'System.Uri'. Path 'user.id', line 1, position 10.
- Error converting value "123.45" to type 'System.Uri'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Boolean'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Boolean'. Path 'items[0].id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Boolean'. Path 'user.id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Boolean'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'items[0].id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'user.id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Collections.Generic.List`1[System.Int32]'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.DateTime'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.DateTime'. Path 'items[0].id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.DateTime'. Path 'user.id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.DateTime'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Decimal'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Decimal'. Path 'items[0].id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Decimal'. Path 'user.id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Decimal'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Double'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Double'. Path 'items[0].id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Double'. Path 'user.id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Double'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Guid'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Guid'. Path 'items[0].id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Guid'. Path 'user.id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Guid'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Int32'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Int32'. Path 'items[0].id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Int32'. Path 'user.id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Int32'. Path 'value', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Int64'. Path 'id', line 1, position 10.
- Error converting value "2026-02-17" to type 'System.Int64'. Path 'items[0].id', line 1, position 10.
XML parsing errors
XML is strict: a single invalid character or unescaped ampersand can break parsing. Fix the first error and re-validate.
- System.Xml.XmlException: An error occurred while parsing EntityName.
- System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
- System.Xml.XmlException: The reference to entity must end with the ';' delimiter.
- System.Xml.XmlException: Unexpected end of file has occurred.
Encoding / token errors (Base64, URL, JWT)
Encoded strings may contain secrets. Decode locally and normalize Base64URL/percent-encoding safely.
Related hubs
FAQ (quick)
Start here: Errors hub (runs locally, no upload).
Can I fix C# errors without uploading my data? Yes. no-upload.ru tools run locally in your browser (NO UPLOAD). Start with Errors hub and keep samples redacted if you must share them.
What is the fastest safe workflow? Validate first, fix the smallest broken part, then validate again before converting/exporting. This prevents silent downstream issues.
Why does C# errors happen? Most issues come from copy/paste truncation, wrong encoding, non-strict syntax (comments/trailing commas), or a shape mismatch (array vs object).
Which tool should I start with for C# errors? Start with Errors hub. If you still see errors, follow the related playbook/trend report on this page.