• Resolved zo

    (@zotezo)


    Hi,
    Facing AMP validation error in this page https://www.zotezo.com/articles/amazon-quiz/?amp
    Incomplete layout attributes specified for tag ‘amp-embed’. For example, provide attributes ‘width’ and ‘height’.
    <amp-embed type=”mgid” data-publisher=”zotezo.com” data-widget=”982413″ data-container=”M622520ScriptRootC9824″ class=”i-amphtml-layout-container” i-amphtml-layout=”container”>
    How to fix the issue?
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’ll need to define a width and height for the highlighted validation error. You can test out validity when adding a defined width and height into the validation tool.

    Thread Starter zo

    (@zotezo)

    Exactly what needs to be done? I have no clue…

    It looks like you have a feature or snippet, likely contained within a text widget, which is causing the validation error.

    You can try and define a width and height in regular HTML or you can try removing that widget before checking the URL once more.

    Have you checked the websites documentation on handling validation errors, you can use the plugins validation tool to help you pinpoint such issues.

    Thread Starter zo

    (@zotezo)

    Hi,
    We have recently activated Ads for WP – Advanced Ads & Adsense Solution for WP & AMP
    Plugins.Is it related to that?
    Thanks

    I’m not sure from looking at your sites source code. You should be able to determine the cause using the plugins validation tool. Look at the “Validated URLs” tab and check the “Source” column next to that error. .

    Alternatively as a standard troubleshoot step can you check for the same validation error after temporarily deactivating that plugin?

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