Title: Amp java script code blocked. Site scan failed too
Last modified: May 15, 2023

---

# Amp java script code blocked. Site scan failed too

 *  Resolved [fifty7tech1](https://wordpress.org/support/users/fifty7tech1/)
 * (@fifty7tech1)
 * [3 years ago](https://wordpress.org/support/topic/amp-java-script-code-blocked-site-scan-failed-too/)
 * ampwp-8b6cb968-aba7-5f94-8ae5-042d03cd9346
 * Amp site scan failed! also getting java script codes from amp article been blocked
   on search console. Please help

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

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years ago](https://wordpress.org/support/topic/amp-java-script-code-blocked-site-scan-failed-too/#post-16741175)
 * Hello [@fifty7tech1](https://wordpress.org/support/users/fifty7tech1/)
 * Thank you for contacting us, [AMP is a WebComponent framework](https://amp.dev)
   it follows a set of rules and restrictions to create high-performing web pages
 * One of the restrictions is [AMP do not allow custom javascript ](https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors#custom-javascript-is-not-allowed)
   AMP provide list of component that can be used in place of custom javascript 
   to provide those features.
 * The AMP framework is not adopted correctly by all WordPress plugins and themes,
   that’s why we created a list of plugins and themes that are [AMP compatible ](https://amp-wp.org/ecosystem/)
   and we will recommend using them as alternatives to your existing plugins.
 * You can learn more about validation errors from [our documentation](https://amp-wp.org/documentation/getting-started/developer-tools/)
   or watch video below
 * We hope this helps!
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years ago](https://wordpress.org/support/topic/amp-java-script-code-blocked-site-scan-failed-too/#post-16763394)
 * [@fifty7tech1](https://wordpress.org/support/users/fifty7tech1/) As we didn’t
   receive a response I’ll mark this as resolved. Feel free to open a [new support topic](https://wordpress.org/support/plugin/amp/#new-post)
   if you require any further assistance.

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

The topic ‘Amp java script code blocked. Site scan failed too’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/amp-java-script-code-blocked-site-scan-failed-too/#post-16763394)
 * Status: resolved