Quick answer
JSON Invalid Value – causes and fixes.
JSON Invalid Value
JSON Invalid Value – causes and fixes. Use a JSON validator to locate the error.
Common causes
- Bare string at root.
How to fix
- Root {} or [].
Use our JSON Validator to paste your input and see the exact error location. Validatethis.org offers free validators for JSON, XML, CSV, HTML, and more. Check /tools for the full list. For API access and integration, see /developers.
FAQ
- Root string?
- No.
- Valid values?
- Object, array, string, number, bool, null.
Fix it now
Try in validator (prefill this example)