AMP Validation

By default, prevents publishing of invalid AMP pages by running an internal validation process prior to every site publication action.

In case of success, the publication process is silently continued.
An alert is displayed if validation errors are discovered.

Dealing with errors

The error report gives several pieces of information about each error:

  • Its location (line and column) in the code
  • A textual description of the error
  • A link to a relevant document

Additional information about AMP pages debugging can be found on the AMP project website.

Keep in mind that the validation process occurs only at publishing time: in some rare cases, some dynamic content (for example invalid third party HTML conversion to AMP HTML) can cause subsequent AMP validation problems.