Structured data that cannot be read

How the scan finds JSON-LD blocks that are not valid JSON, when that is a warning, and how to repair the syntax so the data can be used.

What AuditX checks

The scan counts the script blocks of type application/ld+json in the page HTML and tries to read each one as JSON. A block that fails to parse is recorded with the parser message. The check has three results. When the page has no JSON-LD block at all, it is an info note, which does not lower the score. When every block parses, it passes. When at least one block fails, it warns, never fails, and the message gives how many blocks failed out of the total and the messages for the first two. A block can hold one object, a list or an @graph list, and any of these parse. A block that parses into something other than an object, such as a bare number or text, is skipped without a message and counts as read. This check only asks whether the text is valid JSON. It does not test whether the types and properties make sense, which the other structured data checks do, and it cannot see JSON-LD that a script adds after the page loads unless the scan used the rendered page. A warning counts toward the AI search score and costs 40 percent of what a fail of the same check would cost.

Why it matters

Google says all three structured data formats are fine as long as the markup is valid and properly implemented, and recommends JSON-LD. Markup that is not valid cannot meet that condition.

Google advises checking structured data with the Rich Results Test during development and with the rich result status reports after launch, because pages can break after deployment through templating or serving problems. A stray comma or quote from a template is a typical example.

How to fix it

  1. Copy the text inside the failing script block into a JSON validator, or paste the page address into Google Rich Results Test, and read the error. It usually points at a missing comma, an extra comma after the last item, or a quote mark that is not closed.
  2. Use straight double quotes only. Text copied from a word processor often carries curly quotes that break the syntax.
  3. If a plugin or template writes the block, look for text such as a product title that holds a double quote and is not escaped. Escape it as \" or fix it in the plugin.
  4. Run the scan again to see that every block now reads.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Plumbing",
  "url": "https://www.example.com"
}
</script>

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.