Skip to main content
Doctorine reference
On this pageOverview

Your spec is not valid JSON

The document cannot be parsed, so nothing can be imported or generated from it.

spec.syntax.invalid-json

Category
API specification
Default severity
Error
Applies to
API specification
Default outcome
Blocked
Recommended action
Fix the source
Grouped by
Source location

Why it matters

The document cannot be parsed, so nothing can be imported or generated from it.

How to fix it

  1. Fix the JSON syntax error at the indicated location.
  2. Re-run the import.
Documentation menu