Error in required structured data element

  • Resolved Blooger maind

    I have a error in my amp pages. Error in required structured data element. Can you please tell me how can I fix this.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you share some of the affected URLs in the Sensitive Data section so we can check it and hopefully provide you with a solution for your issue?

    Looking forward to helping you. Thank you.


    They are showing that no highlited issue.
    But invalid structure data for amp page.


    unfortunately we cannot deduce the probable cause of the issue from the description. If you could please add some of the URLs showing the errors in the sensitive section so we can look into this from our end.

    Looking forward to helping you. Thank you.


    The error is in this home page URL.

    • This reply was modified 6 months ago by Blooger maind.
    • This reply was modified 6 months ago by Alberto.


    I have checked it on but I didn’t see any issues there.

    Could you try to revalidate the issue in Search Console and if it is still there, upload some screenshots of the details of the issue you see in the Search Console?

    Looking forward to help you.

      Search console error.


    I tried to check it in the AMP Validator site but it doesn’t find any issue nor warning, you can check it by yourself here:

    Could you click on validate the issue in Google Search Console just to see if it is already solved?

    Looking forward to help you.

    I have found theses six issue on my amp pages.
    Top Errors

    Errors can prevent your page or feature from appearing in Search results. The following errors were found on your site:

    Tag found outside the document head which is only allowed as a direct child of the document head.

    Tag or text which is only allowed inside the body section found outside of the body section.

    The tag ‘BODY’ appears more than once in the document.

    Custom JavaScript is not allowed.

    Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.

    We recommend that you fix these issues when possible to enable the best experience and coverage in Google Search.


    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have done that


    Which AMP plugin are you using?

    If you are using the AMP for WP plugin, please choose Rank Math from the dropdown at WordPress Dashboard > AMP > Settings > SEO.

    If you are using any other AMP plugin, please enable the Rank Math AMP module at WordPress Dashboard > Rank Math > Dashboard

    Then, clear your website cache along with the AMP cache. Click on the “Validate Fix” in your Google Search Console and wait 4-5 days for Google to see the fixed AMPs and remove the errors from your search console.

    With that said, the detection date for the warnings in your screenshot is 23 July. It is likely that the issue no longer exists so I would recommend waiting for the newer crawl report.

    You have not share the login URL with us, by the way.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have provided URL now.


    This is the image file that is causing the issue:

    Please disable the CDN option in JetPack to sort that.

    If there are still any issues pending after that, let us know.


    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 15 replies - 1 through 15 (of 17 total)

The ticket ‘Error in required structured data element’ is closed to new replies.