Title: AMP Validation issues
Last modified: August 24, 2022

---

# AMP Validation issues

 *  Resolved [joebl](https://wordpress.org/support/users/joebl/)
 * (@joebl)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-issues-3/)
 * I consistently get the following errors on my web stories:
 * 1. A mandatory AMP HTML tag is missing from this document.
    Instance: “The mandatory
   tag ‘html !doctype’ is missing or incorrect.” 2. The parent tag of tag ‘html’
   must be ‘!doctype’. Instance: “The parent tag of tag ‘html’ is ‘$root’, but it
   can only be ‘!doctype’.” 3. A tag on this page requires an AMP component ‘script’
   tag, which is missing. Instance: “The tag ‘amp-story-auto-analytics’ requires
   including the ‘amp-story-auto-analytics'”
 * I do not wish to share my domain publicly. Can you give a secure way?
 * I tested removing the Ezoic plugin (I run ads) entirely and it appeared to fix
   it temporarily. But I need a combined solution. I have contacted their support
   and waiting for some advice but I haven’t heard back for a week already.
 * I am hoping someone from the web stories team has some insight as to why this
   is happening and possible solutions?
 * I can confirm I am also using Breeze as a caching plugin, but playing around 
   with its settings and reducing the optimizing didn’t seem to have any effect.
   Temporarily disabling the Ezoic plugin entirely did.
    -  This topic was modified 3 years, 9 months ago by [joebl](https://wordpress.org/support/users/joebl/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-issues-3/#post-15946103)
 * Hi [@joebl](https://wordpress.org/support/users/joebl/) thanks for getting in
   touch and sorry to hear you’re getting AMP validation errors on your Stories 
   when you have the Ezoic plugin active. Unfortunately, we have seen this before
   and it’s something that Ezoic will need to address on their side.
 * It could be related to a specific setting in the Ezoic plugin but I can’t say
   for sure. Have you tried switching certain settings off in the plugin one at 
   a time to see if it is linked to a particular one?
 *  [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-issues-3/#post-15969389)
 * Since we haven’t received any further response we will mark this topic as resolved.
   Should you require any further support with this please feel free to reopen this
   topic, or create a new one for other issues/questions. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘AMP Validation issues’ is closed to new replies.

 * ![](https://ps.w.org/web-stories/assets/icon.svg?rev=2386543)
 * [Web Stories](https://wordpress.org/plugins/web-stories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/web-stories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/web-stories/)
 * [Active Topics](https://wordpress.org/support/plugin/web-stories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/web-stories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/web-stories/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 2 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-issues-3/#post-15969389)
 * Status: resolved