Schema.org Invalid JSON-LD
Structured data must be valid JSON-LD: valid JSON plus @context and correct structure. Syntax errors prevent parsing and indexing.
Common causes
- Invalid JSON (trailing comma, single quotes, unescaped characters).
- Missing @context or wrong context URL.
- Script tag not type application/ld+json or invalid embedding.
How to fix
- Validate your JSON first (e.g. with a JSON validator), then add @context and @type.
- Use a single script tag with type application/ld+json and valid JSON inside.
- Run the Schema.org Validator to get line-level errors.
FAQ
- Can I use multiple script tags for Schema.org?
- Yes. You can have several script type=application/ld+json blocks; each should be valid JSON-LD.
- What is @context for?
- @context tells parsers where to find type and property definitions; typically https://schema.org.
Fix it now
Try in validator (prefill this example)