The SEO Starter Guide to Google Search ConsoleChapter eleven

Find & Fix Structured Data Markup Errors

Structured data markup can provide additional data to search engines so they can serve up better, more accurate search results. Structured data can also provide enhanced presentations within the search results pages themselves, making results more visible or helpful to users. However, structured data can also be tricky to use – luckily, Search Console features a tool to quickly identify structured data errors.

How to Find and Fix Structured Data Errors

Note: You can click on all screenshots below to view at a larger size.

Step 1: Log in to Search Console and click on Search Appearance, click Structured Data

Step 2: Check to see if any Errors are called out at the top of the report

structured data error report in gsc

Step 3: If you have errors, click on the error number to view the pages with errors for that specific type of schema

view pages with errors in gsc

Step 4: Click on a page URL to expand the Page details and click the Test live data button to open the Structured Data Testing Tool

structured data testing tool gsc

Step 5: In the Structured Data Testing Tool, you can click on the individual markup to expand to view its elements and any errors or warnings

expand view in structured data testing tool in gsc

Here we can see that the value “Open” is causing an error in startDate. Event schema requires a startDate. To fix this issue we would add the proper start dates to each Event with an error.

location schema error in gsc

We can also see there is an error within the location schema. It doesn’t have a value for the address field.

Here is an example of the current schema markup:

<script type='application/ld+json'>
{
  "@context": "http://schema.org/",
  "@type": "Event",
   "name": "Example",
  "startDate": "2018-06-10",
"location": {
    "@type": "PostalAddress",
    "streetAddress": "1234 Example Street",
    "addressLocality": "Philadelphia",
    "postalCode": "19123",
    "addressRegion": "PA",
    "addressCountry": "US"
  }
 }
</script>sentences = text.split( '. ' );

 

Here is an example of the recommended schema for the fix:

<script type='application/ld+json'>
{
  "@context": "http://schema.org/",
  "@type": "Event",
   "name": "Example",
  "startDate": "2018-06-10",
"location": {
  "@type": "Place",
  "Address":{
    "@type": "PostalAddress",
    "streetAddress": "1234 Example Street",
    "addressLocality": "Philadelphia",
    "postalCode": "19123",
    "addressRegion": "PA",
    "addressCountry": "US"
  }
 }
}
</script>

Step 6: Once you’ve fixed your structured data errors, make sure you resubmit your page for indexing!