Title: Google Reported &#8220;amp-mustache&#8221; error
Last modified: April 15, 2018

---

# Google Reported “amp-mustache” error

 *  Resolved [Sanjay](https://wordpress.org/support/users/rsclmumbai/)
 * (@rsclmumbai)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/google-reported-amp-mustache-error/)
 * Message from Google Console:
    The tag ‘template’ requires including the ‘amp-
   mustache’ extension JavaScript. Check screenshot here: [http://prntscr.com/j5ib4a](http://prntscr.com/j5ib4a)
 * Pls check.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-reported-amp-mustache-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Talha Ansari](https://wordpress.org/support/users/ansaritalha/)
 * (@ansaritalha)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/google-reported-amp-mustache-error/#post-10185892)
 * Hi Sanjay,
 * I have checked your website URL and there is no validation error, can you please
   check again?
 * If you still facing the error then just paste the following script into the “
   enter HTML in head” section of AMP plugin.
    <script async custom-template=”amp-
   mustache” src=”[https://cdn.ampproject.org/v0/amp-mustache-0.1.js”></script&gt](https://cdn.ampproject.org/v0/amp-mustache-0.1.js”></script&gt);
 * You can find that option in the following setting.
    AMP>setting>advance setting
   >HTML in head [see this screenshot: [http://take.ms/wylCMi%5D](http://take.ms/wylCMi%5D)
    -  This reply was modified 8 years, 2 months ago by [Talha Ansari](https://wordpress.org/support/users/ansaritalha/).
    -  This reply was modified 8 years, 2 months ago by [Talha Ansari](https://wordpress.org/support/users/ansaritalha/).
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/rsclmumbai/)
 * (@rsclmumbai)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/google-reported-amp-mustache-error/#post-10188760)
 * Actually, this error was reported by Google Search Console.
 * I’ve added the code you gave in the “Enter HTML in Head” section & started the
   Google Validation process. Not sure why but Google Console always seems to be
   taking a lot of time for validation.
 * I’ll keep you posted if the issue resurfaces.
 * Thanks for your prompt support.
 *  [zirak](https://wordpress.org/support/users/zirak/)
 * (@zirak)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/google-reported-amp-mustache-error/#post-10752992)
 * Hi, I have the same issue, and after i inserted the code to the head, a new error
   in console appeared, “custom javascript isn’t allowed.
 * > [View post on imgur.com](https://imgur.com/ndX3RtC)
 *  [Mohammed Razzaq](https://wordpress.org/support/users/marqas/)
 * (@marqas)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/google-reported-amp-mustache-error/#post-10758726)
 * Hi [@zirak](https://wordpress.org/support/users/zirak/),
 * I guess you are trying to add the wrong JS code in the head, can you share the
   URL or code which you are trying to add?

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

The topic ‘Google Reported “amp-mustache” error’ 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-mustache](https://wordpress.org/support/topic-tag/amp-mustache/)

 * 4 replies
 * 4 participants
 * Last reply from: [Mohammed Razzaq](https://wordpress.org/support/users/marqas/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/google-reported-amp-mustache-error/#post-10758726)
 * Status: resolved