Title: AMP validation had errors:
Last modified: August 31, 2016

---

# AMP validation had errors:

 *  [relisys](https://wordpress.org/support/users/relisys/)
 * (@relisys)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/amp-validation-had-errors/)
 * This is a list of errors on my amp page after installing this. Any idea how to
   sort these?
 * Also i still have the message. in google search console. (We did not find any
   Accelerated Mobile Pages in your site)
 * The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid
   value ‘text/javascript’.
 * The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid
   value ‘//fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic
   |Open+Sans:400,700,400italic,700italic’. (see [https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts](https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts))
 * The attribute ‘src’ in tag ‘amp-carousel extension .js script’ is set to the 
   invalid value ‘//cdn.ampproject.org/v0/amp-carousel-0.1.js’. (see [https://www.ampproject.org/docs/reference/extended/amp-carousel.html](https://www.ampproject.org/docs/reference/extended/amp-carousel.html))
 * The attribute ‘src’ in tag ‘amphtml engine v0.js script’ is set to the invalid
   value ‘//cdn.ampproject.org/v0.js’. (see [https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt](https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt))
 * The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid
   value ‘text/javascript’.
 * The mandatory tag ‘amphtml engine v0.js script’ is missing or incorrect. (see
   [https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt](https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt))
 * The ‘amp-carousel extension .js script’ tag is missing or incorrect, but required
   by ‘amp-carousel’. (see [https://www.ampproject.org/docs/reference/extended/amp-carousel.html](https://www.ampproject.org/docs/reference/extended/amp-carousel.html))
 * [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)

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

 *  [Omeprazol](https://wordpress.org/support/users/omeprazol/)
 * (@omeprazol)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/amp-validation-had-errors/#post-7096530)
 * It appears the script doesn’t properly add http:// or https:// in front of the
   scripts it has to load. Are you using a plugin to modify links e.g. a plugin 
   that automatically converts your links to https?
 *  [dapickboy](https://wordpress.org/support/users/dapickboy/)
 * (@dapickboy)
 * [10 years ago](https://wordpress.org/support/topic/amp-validation-had-errors/#post-7096825)
 * Here, we had the Cloudflare plugin rewriting urls. Disabling this option cleared
   all these errors.
 *  [toddhuish](https://wordpress.org/support/users/toddhuish/)
 * (@toddhuish)
 * [10 years ago](https://wordpress.org/support/topic/amp-validation-had-errors/#post-7096831)
 * Seconded. I wish I had found this 2 hours ago. This was the exact fix I needed
   to clear all my AMP validation errors. Well, most. Went from 5209 to 72. There’s
   a manageable number.
 * Apparently removing the scheme is now [anti-pattern](http://www.paulirish.com/2010/the-protocol-relative-url/).
   Se la vie.

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

The topic ‘AMP validation had 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/)

 * 3 replies
 * 4 participants
 * Last reply from: [toddhuish](https://wordpress.org/support/users/toddhuish/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/amp-validation-had-errors/#post-7096831)
 * Status: not resolved