Title: New AMP error message from google
Last modified: April 7, 2019

---

# New AMP error message from google

 *  Resolved [ThecounT](https://wordpress.org/support/users/thecount/)
 * (@thecount)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/new-amp-error-message-from-google/)
 * “To owner,
 * Search Console has identified that your site is affected by 2 new AMP related
   issues. This means that AMP may be negatively affected in Google Search results.
   We encourage you to fix these issues.
 * Top new issues found, ordered by number of affected pages:
    Custom JavaScript
   is not allowed.
 * Error in required structured data element”
 * I have added nothing.
 * Thanks man.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnew-amp-error-message-from-google%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/new-amp-error-message-from-google/#post-11400934)
 * Please share the URL of the specific AMP page that has the problems.
    -  This reply was modified 7 years, 1 month ago by [Weston Ruter](https://wordpress.org/support/users/westonruter/).
 *  Thread Starter [ThecounT](https://wordpress.org/support/users/thecount/)
 * (@thecount)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/new-amp-error-message-from-google/#post-11400986)
 * [https://bit.ly/2U54IMQ](https://bit.ly/2U54IMQ)
 * THX
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/new-amp-error-message-from-google/#post-11410199)
 * There seems to be some kind of user-agent content cloaking happening on your 
   site.
 * While I can directly go to [https://thecount.com/2017/05/09/afshin-bahrampour-synagogue-fires-sex-offender/amp/](https://thecount.com/2017/05/09/afshin-bahrampour-synagogue-fires-sex-offender/amp/)
   in my browser, the AMP validator seems to get redirected to the non-AMP version,
   as can be seen at: [https://validator.ampproject.org/#url=https%3A%2F%2Fthecount.com%2F2017%2F05%2F09%2Fafshin-bahrampour-synagogue-fires-sex-offender%2Famp%2F](https://validator.ampproject.org/#url=https%3A%2F%2Fthecount.com%2F2017%2F05%2F09%2Fafshin-bahrampour-synagogue-fires-sex-offender%2Famp%2F)
 * Compare making a request as the AMP validator:
 *     ```
       $ curl -sA "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MTC19V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.81 Mobile Safari/537.36 (compatible; validator.ampproject.org) AppEngine-Google; (+http://code.google.com/appengine; appid: s~amp-validator)"  https://thecount.com/2017/05/09/afshin-bahrampour-synagogue-fires-sex-offender/amp/ | head -n 2
       <!DOCTYPE html>
       <html lang="en-US">
       ```
   
 * Versus making a request as a regular desktop Chrome on a Mc:
 *     ```
       curl -sA "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"  https://thecount.com/2017/05/09/afshin-bahrampour-synagogue-fires-sex-offender/amp/ | head -n2
       <!doctype html>
       <html amp lang="en-US">
       ```
   
 * The former serves a non-AMP response whereas the latter does.
 * So this would not be an issue with the AMP plugin but rather is probably another
   one of your plugins is doing.

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

The topic ‘New AMP error message from google’ 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
 * 2 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/new-amp-error-message-from-google/#post-11410199)
 * Status: resolved