Title: Validation Issues &#8211; JavaScript errors
Last modified: December 19, 2020

---

# Validation Issues – JavaScript errors

 *  Resolved [gritsandpineconescom](https://wordpress.org/support/users/gritsandpineconescom/)
 * (@gritsandpineconescom)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/validation-issues-javascript-errors/)
 * I added the web stories plugin version 1.2.1 on December 17, 2020.
    I have tried
   multiple web story versions, some made with Canva, some made in the web story
   editor, some with only images, some with videos and all are coming up with the
   same error message: Not a valid AMP Page, validation issues, “JavaScript not 
   allowed. Two instances.” Line 2:97 Line 14.13 Can you help?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvalidation-issues-javascript-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/validation-issues-javascript-errors/#post-13813595)
 * Hi there,
 * Both JavaScript snippets are for New Relic’s [browser monitoring](https://docs.newrelic.com/docs/browser/new-relic-browser/troubleshooting/troubleshooting-browser-monitoring-installation)
   feature. To fix this, New Relic recommends [disabling the feature](https://docs.newrelic.com/docs/browser/new-relic-browser/installation/disable-browser-monitoring)
   for AMP pages (like Web Stories are). Depending on how you are adding this script(
   e.g. by using a custom WordPress plugin), you can disable the snippet for AMP
   pages alone, or just for the whole website. If this New Relic feature does not
   ring a bell to you, you might want to reach out to your website administrator
   or hosting provider for assistance.
 * Hope that helps!
 *  Thread Starter [gritsandpineconescom](https://wordpress.org/support/users/gritsandpineconescom/)
 * (@gritsandpineconescom)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/validation-issues-javascript-errors/#post-13814577)
 * Dear Pascal,
    Thank you so much for your reply. You are right, I don’t have a
   clue what New Relic is, so I am reaching out to my support folks and sharing 
   your information. Thank you again for taking the time to respond, I’ll keep you
   posted! All the best, Sharon
 *  Thread Starter [gritsandpineconescom](https://wordpress.org/support/users/gritsandpineconescom/)
 * (@gritsandpineconescom)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/validation-issues-javascript-errors/#post-13823282)
 * I contacted Cloudways, which is my host, and they said that New Relic was already
   disabled on my site. Any other ideas or places to check?
    All the best, Sharon
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/validation-issues-javascript-errors/#post-13823342)
 * If it’s not added by your hosting provider, it could be added by one of your 
   plugins or even your theme. You could try briefly disabling all plugins to see
   if the New Relic code is still inserted on your page. Briefly changing the active
   theme also is worth a shot.
 * The code is also added on your website’s homepage for instance, so it’s not isolated
   to stories.
 *  [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * (@luckynasan)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/validation-issues-javascript-errors/#post-13879129)
 * [@gritsandpineconescom](https://wordpress.org/support/users/gritsandpineconescom/)
   we’re going to close your topic now since we have not received a response. Please
   feel free to open a [new support topic](https://wordpress.org/support/plugin/web-stories/#new-post)
   if you continue to experience any issues. Thank you!

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

The topic ‘Validation Issues – JavaScript errors’ is closed to new replies.

 * ![](https://ps.w.org/web-stories/assets/icon.svg?rev=2386543)
 * [Web Stories](https://wordpress.org/plugins/web-stories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/web-stories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/web-stories/)
 * [Active Topics](https://wordpress.org/support/plugin/web-stories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/web-stories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/web-stories/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Luckyna San](https://wordpress.org/support/users/luckynasan/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/validation-issues-javascript-errors/#post-13879129)
 * Status: resolved