Schema JSON Parse Errors
What This Means
The page contains a <script type="application/ld+json"> block, but the JSON content inside it is syntactically invalid — it cannot be parsed as valid JSON. Common causes: unclosed brackets or braces, trailing commas, unescaped special characters in string values, or template variables that were not resolved before output.
Why It Matters for SEO
A JSON parse error means the entire schema block is discarded by the parser. Search engines cannot read or process any of the structured data on the page. All rich result opportunities from that schema block are lost, even if 99% of the JSON is valid.
What the Platform Checks
The platform extracts each application/ld+json script block and attempts to parse it as JSON. Fires when the parse throws an error.
How to Fix It
- Use Google's Rich Results Test or the Schema Markup Validator to identify the exact error location.
- Common fixes:
- — Check for trailing commas after the last property in objects and arrays.
- — Check for unescaped quotes inside string values — use
\"to escape quotes. - — Verify all brackets and braces are properly matched.
- — Check that template variables have been resolved before JSON is output.
- Validate the JSON with a JSON linter (jsonlint.com or browser console
JSON.parse()) before deploying.
Find every JSON parse errorin your schema markup
The audit identifies every schema block with a JSON parse error so you can fix the syntax and restore rich result eligibility.