• Resolved bartom34

    (@bartom34)


    Support UUID: ampwp-b2839447-afc2-5410-bd18-89588d248659

    Hi,

    I have two blocking erros for amp validation in my search console which are :

    1- `The tag ‘amphtml nomodule engine script’ is missing or incorrect, but required by ‘amphtml module engine script’.

    2- Custom JavaSript is not allowed

    Would you know how to fix this?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @bartom34

    Thank you for contacting us, As we checked your site, it seems you are using it in sandbox mode ON, it’s an experimental feature that let’s you keep AMP validation errors.

    The Sandbox mode focuses more on website features than AMP validation, causing those errors. you can learn more about sandboxing mode using our documentation

    We recommend you disable sandboxing mode from AMP settings, in case you don’t want AMP validation errors

    We hope this helps!

    Thread Starter bartom34

    (@bartom34)

    Many thanks for your reply. I have disabled sandbox mode ON which was to the strict mode though.

    Would the plugin going to fix error by itself now?

    Plugin Support Milind More

    (@milindmore22)

    Hello @bartom34

    Thank you for contacting us, I will recommend turning off Sandbox mode completely to get valid AMP pages.

    Thread Starter bartom34

    (@bartom34)

    OK, it’s done now! But URL is still not valid. How could I do?

    Plugin Support Milind More

    (@milindmore22)

    Hello @bartom34

    Can you please check if your theme or any plugin provides the feature of lazy loading the scripts?

    If yes please deactivate lazy loading script feature feature

    <script async nomodule crossorigin="anonymous" data-type="lazy" data-src="https://cdn.ampproject.org/v0.js"></script>

    This should be

    <script async nomodule crossorigin="anonymous" src="https://cdn.ampproject.org/v0.js"></script>

    Thread Starter bartom34

    (@bartom34)

    Milind,

    Many thanks, I found issues which was coming from an instruction given by Flying Script plugin to lazy load scripts including “amp”.

    You were really helpfull!

    Plugin Support Milind More

    (@milindmore22)

    Hello @bartom34

    Glad our suggestion is helpful, I wonder why we are not able to get from data you have sent that you are using Flying script plugi, anyways, I’ll mark this as resolved Open a new support topic if you face further issues, also feel free to leave a plugin review, we would love to hear your feedback.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Invalid AMP pages’ is closed to new replies.