Structured data errors: invalid JSON-LD and missing fields
Structured data describes a page in a format machines read, usually JSON-LD with schema.org types. Errors appear when the JSON is invalid, required fields are missing, an organization is declared twice, ids are broken, URLs are relative, or the markup does not match the visible page. Validate the JSON, use absolute URLs, and mark up only what visitors can actually see.
How the problem happens
Markup is copied from an example and edited by hand, or two plugins each add their own block. A missing comma breaks the whole object, and a value left from a template no longer matches the page.
Why structured data errors cost rich results and AI understanding
Structured data is a machine-readable description of what a page is: an organization, an article, a product, a video, a local business. Search engines can guess these things from the text, but a guess is less reliable than a statement. Correct markup makes a page eligible for richer results, helps Google show your site name and breadcrumbs, and gives AI systems clean facts about who you are, what you sell and who wrote a page.
Errors turn that advantage around. Broken JSON means the whole block is ignored. Missing required fields mean no rich result. Markup that describes something not visible on the page, or two conflicting organization records, can be worse than none, because it contradicts the content and Google's guidelines expect markup to match what visitors see, so it can be treated as misleading. Relative URLs, references to an @id that is not defined and incomplete product, video or local business objects all leave the engine with less than you meant to give it. Note that Google has sharply restricted FAQ rich results in search (see its Search Central documentation), so do not expect them; FAQ markup remains valid and is not an error to fix.
How to check structured data by hand
View the source and search for application/ld+json. Copy each block into a JSON validator first: one trailing comma invalidates it. Then use Google's Rich Results Test for the page types Google supports, and the Schema Markup Validator for general schema.org correctness. They show which type was read, which fields are missing and which are only recommended, and they separate errors from warnings.
Next compare the markup with the visible page. Every fact in it, such as a price, a rating, a question, an opening time or an author, must also appear in the content a visitor sees. Check that url, logo and image are absolute, that each @id you reference is defined once, and that a site has one Organization record, not several with different names and logos.
For older markup in the HTML itself, look for itemscope, itemtype and itemprop, or RDFa with vocab. Typical faults are an itemscope without a type, a type outside schema.org and a property that sits outside its scope. The Enhancements reports in Google Search Console show which pages Google found valid or invalid at scale.
How to fix structured data in code, server and CMS
Prefer one JSON-LD block per page, built from data you already have, in a @graph that links objects through @id. Put an Organization and a WebSite record on the home page with the site name, then reference the organization as publisher or author from other pages. Use the most specific type that fits: Article or BlogPosting with headline, image, dates and author for posts; Product with offers, price, priceCurrency and availability for products; LocalBusiness with address, phone, hours and coordinates for a shop; VideoObject with name, thumbnailUrl and uploadDate for videos.
Generate the markup from the same fields that print the visible text, so the two cannot drift. Escape strings properly by serializing an object with JSON.stringify instead of concatenating text, and use absolute https addresses everywhere. Add BreadcrumbList to show the path of a page in results.
In WordPress, let one SEO plugin output the graph and turn off the schema features of the theme and of other plugins, since duplicates are the usual source of conflicting records. In a framework, render the object in the page component. Do not mark up content you do not show.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://example.com/#org",
"name": "Example Ltd",
"url": "https://example.com/",
"logo": "https://example.com/logo.png"
},
{
"@type": "WebSite",
"@id": "https://example.com/#site",
"name": "Example",
"url": "https://example.com/",
"publisher": { "@id": "https://example.com/#org" }
}
]
}
</script>How RankDossier detects structured data problems
RankDossier extracts JSON-LD, microdata and RDFa from the raw HTML of each page and checks them. The checks in this family test whether any structured data exists, whether the JSON is valid, whether Organization and WebSite records are present and unique, whether required and recommended fields are filled, whether @id references resolve and URLs are absolute, and whether Article, Product, merchant listing, video, local business and service objects carry their fields. Further checks flag missing breadcrumbs, microdata errors and FAQ markup that does not match the visible questions, and an AI review compares markup with what the page actually shows.
Each finding names the object and the field concerned. Test a page with the Structured data test. The technical SEO audit guide explains where markup fits among the other signals, the E-E-A-T guide shows how organization and author data support trust, and the AI citations guide covers how clear facts help AI systems quote a site.
Wrong and right
Wrong
<script type="application/ld+json">
{ "@type": "Organization" "name": "Example", "url": "/" }
</script>
Right
<script type="application/ld+json">
{ "@context": "https://schema.org", "@type": "Organization",
"name": "Example", "url": "https://example.com/" }
</script>
How to fix it
WordPress
Let one SEO or schema plugin output the markup, remove duplicate blocks from the theme, and fill the fields that the plugin marks as required for each page type.
Next.js
Build the object in code, serialize it with JSON.stringify inside a script tag of type application/ld+json, and use absolute URLs and a stable id.
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
/>
Nginx
Nginx does not generate markup. After you fix the template, clear the page cache and check the live response, so crawlers do not receive the old block.
curl -s https://example.com/ | grep -c 'application/ld+json'
Check codes in this family
These checks belong to this family. Each code appears in the audit report with its own explanation and fix.
WEBSITE_NAME_SCHEMAWebSite schema with name is missingFAQ_SCHEMA_MISMATCHFAQ schema does not match visible contentSCHEMA_INVALID_JSONInvalid JSON-LDSCHEMA_MISSINGNo structured dataSCHEMA_ORG_MISSINGOrganization/LocalBusiness is missingSCHEMA_REQUIRED_FIELDMissing structured data fieldsSCHEMA_DUPLICATE_ORGConflicting organization recordsSCHEMA_BROKEN_IDBroken @id referencesSCHEMA_RELATIVE_URLRelative URLs in structured dataSCHEMA_RICH_INELIGIBLEArticles without the recommended headline or imageSCHEMA_FAQ_LIMITEDFAQ markup (Google no longer shows FAQ rich results)BREADCRUMB_MISSINGBreadcrumbList is missingAI_SCHEMA_MISMATCHSchema describes absent content (AI review)VIDEO_NO_SCHEMAVideo without VideoObject schemaVIDEO_SCHEMA_FIELDSIncomplete VideoObject schema or video sitemapPRODUCT_SCHEMA_FIELDSIncomplete Product schemaLOCAL_SCHEMA_MISSINGLocal business without LocalBusiness schemaSERVICE_SCHEMA_MISSINGServices without Service schemaSCHEMA_MICRODATA_INVALIDMicrodata/RDFa errorsARTICLE_SCHEMA_MISSINGArticles without Article schemaMERCHANT_LISTING_FIELDSProducts without Merchant listing fieldsLOCAL_SCHEMA_FIELDSLocalBusiness missing key fields
Related check families
Read the full guide How to run a technical SEO audit and prioritize the fixes for the wider picture. Test one page for free with the Structured data test.
Check your own site
Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.
Start the free pre-check