Title: AMP Error Issues in Google Webmaster
Last modified: December 26, 2020

---

# AMP Error Issues in Google Webmaster

 *  [Joe](https://wordpress.org/support/users/visaflux/)
 * (@visaflux)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/amp-error-issues-in-google-webmaster-2/)
 * Please Help!
 * Please how do I resolve the following four AMP Error issues as seen in my Google
   webmaster? These errors are affecting numerous pages of my website, I do NOT 
   know how to fix this. Please someone help me out here..
 * Error 1: Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only
   in the document head.
 * Error 2: Custom JavaScript is not allowed.
 * Error 3: Tag or text which is only allowed inside the body section found outside
   of the body section.
 * Error 4: Disallowed attribute or attribute value present in HTML tag.
 * Note: I am using “AMP for WP” – Accelerated Mobile Pages for WordPress By Ahmed
   Kaludi, Mohammed Kaludi
 * Below is one of the pages with such error. Please someone help me with possible
   solution to this!!
 * [https://www.fanslite.com/kendall-jenner-frank-ocean-take-ice-cream-ny-city/amp/](https://www.fanslite.com/kendall-jenner-frank-ocean-take-ice-cream-ny-city/amp/)

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

 *  Thread Starter [Joe](https://wordpress.org/support/users/visaflux/)
 * (@visaflux)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/amp-error-issues-in-google-webmaster-2/#post-13835939)
 * When I checked further, I guess I was able to see the errors for each of the 
   Errors title as shown below; But the problem is how do I resolve them please??
 * Error 1: Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only
   in the document head.
 * This seems to be the Error;
 * **<style amp-custom>**
 * Error 2: Custom JavaScript is not allowed.
 * This seems to be the Error here=>;
 * **<script async custom-element=”amp-ad” src=”[https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script&gt](https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script&gt);**
 * Error 3: Tag or text which is only allowed inside the body section found outside
   of the body section.
 * This seem to be Error here (from the part of the Adsense Code for AMP)
 * **<amp-ad width=”100vw” height=”320″**
 * Error 4: Disallowed attribute or attribute value present in HTML tag.
 * This seem to be Error here;
 * **<meta name=”twitter:label1″ value=”Written by”>**
 * Please how do I resolve all these Error??
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/amp-error-issues-in-google-webmaster-2/#post-13838099)
 * Can you please provide us few screenshots of the issue you are encountering? 
   We will analyze it and let you know.

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

The topic ‘AMP Error Issues in Google Webmaster’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/amp-error-issues-in-google-webmaster-2/#post-13838099)
 * Status: not resolved