E023Error
Expected an object key
Something other than a key appeared inside an object.
What it means
After { or a comma inside an object, the parser expects a quoted key. Finding a colon, bracket, or other token there usually means a key is missing or a stray character slipped in.
Example
Invalid
{ : "Ada" }Valid
{ "name": "Ada" }How to fix it
Add the missing quoted key before the colon.
Validate your JSON to see this and every other issue highlighted in one pass.
Diagnostics on this page come from @jsonlint/core, the open-source engine that powers the JSONLint validator. Install it with npm install @jsonlint/core.