Title: Amp Validation errors
Last modified: August 24, 2019

---

# Amp Validation errors

 *  Resolved [neeville](https://wordpress.org/support/users/neeville/)
 * (@neeville)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/)
 * Hi, i just install Amp on my site and the number of validation errors is scary.
   Please how do i fix them cuz i want to keep using Amp on my site
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-validation-errors-8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [neeville](https://wordpress.org/support/users/neeville/)
 * (@neeville)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/#post-11865356)
 * Any help will be appreciated.
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/#post-11866849)
 * [@neeville](https://wordpress.org/support/users/neeville/) Your site uses custom
   JavaScript, which isn’t permitted in AMP. The plugin informs you of the source
   of the errors, such as your theme, plugins or content. You will find information
   on validation errors [here](https://amp-wp.org/documentation/how-the-plugin-works/amp-validation/).
 * You can use AMP in reader mode to ensure AMP compatibility. It won’t use your
   active themes styling or layout but it will provide you with a AMP valid base
   template you can work with to add features.
 * If you want sure your AMP URLs look the same as your non AMP, and continue with
   transitional mode AMP you can use the validation tool to accept or reject any
   highlighted errors. Alternatively you can ask your theme provide if they plan
   for AMP compatibility also, or use an AMP compatible theme.
 *  Thread Starter [neeville](https://wordpress.org/support/users/neeville/)
 * (@neeville)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/#post-11870856)
 * Thanks for your reply. My theme dev has no plans of making the plugin Amp compatible.
   So it’s up to me now. please give me a little direction and I will figure the
   rest. for example, the following code
 *     ```
       <link rel='https://api.w.org/' href='https://spicegadget.com/wp-json/' />
       <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://spicegadget.com/xmlrpc.php?rsd" />
       <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://spicegadget.com/wp-includes/wlwmanifest.xml" /> 
       <meta name="generator" content="WordPress 5.2.2" />
           <style type="text/css">
       ```
   
 * Has this warning.
 * The mandatory attribute ‘amp-custom’ is missing in tag ‘style amp-custom’
 * please, how do I resolve this?
 *  [jamesozzie](https://wordpress.org/support/users/jamesozzie/)
 * (@jamesozzie)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/#post-11871209)
 * [@neeville](https://wordpress.org/support/users/neeville/) I don’t see any validation
   errors at present when checking your site. Most likely you had a plugin which
   is causing the error you reported.
 * It could also be a search console error, reporting on an error that no longer
   exists if you have just recently made any changes.
 *  Thread Starter [neeville](https://wordpress.org/support/users/neeville/)
 * (@neeville)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/#post-11871375)
 * Search console is showing pass because it is showing old result of my site when
   I was using ampforwp. I switch because I like how this version integrates and
   show the main theme in amp. Please to see my site amp errors use this link.
    
   [The Amp Validator](https://validator.ampproject.org/#url=https%3A%2F%2Fspicegadget.com)
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/#post-11871507)
 * [@neeville](https://wordpress.org/support/users/neeville/) Thanks for the update.
   You are performing an AMP test on a non AMP URL, which is why you see those errors.
 * You will need to do an AMP validator test on an [AMP URL](https://validator.ampproject.org/#url=https%3A%2F%2Fspicegadget.com%2F%3Famp).

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

The topic ‘Amp Validation errors’ is closed to new replies.

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

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/amp-validation-errors-8/#post-11871507)
 * Status: resolved