How to Fix Missing or Invalid Structured Data Item on AMP Pages

AMP or Accelerated Mobile Pages is an open-source initiative led by Google to improve the performance of websites. The aim is to load web pages faster for a better user experience. The official AMP Plugin for WordPress by Automatic makes it quite easy to create AMP versions of all your posts. Since the AMP project is quite new, webmasters have encountered various problems and challenges while trying to implement AMP versions of their websites. 

Fix Missing or Invalid Structured Data Item

One of the challenges that the webmasters have faced while validating their WordPress AMP pages through Google is the Fix Missing or Invalid Structured Data Item validation error. The error is further described as, “A required property in your structured data is missing, misspelled, or has an invalid value.” See the image below for an example.

missing-invalid-structured-data-item

Upon clicking the Test Your Structured Data link, a page opens listing the single error which caused this problem. See the image below.

amp-validation-error

The Easy Fix

The fix is quite simple. This structure data validation error is occurring due to the website not having a Site Icon in the Site Identity settings. Here are the steps to fixing this error:

Step 1: Create a site icon which is 512 x 512 pixels in size.

Step 2: Login to your WordPress site. From the menu bar, select Appearance > Customize.

site-icon-menu

Step 3: From the Customize page, click on Site Identity menu bar option.

site-identity

Step 4: Click on the Select Image button located under the Site Icon section and upload the image you created in Step 1.

select-site-icon

Once you upload the site icon image, go back to validate your page using Google’s Structured Data Testing Tool and the error should be gone. 

5 thoughts on “How to Fix Missing or Invalid Structured Data Item on AMP Pages”

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top