Google AMP pages errors

Hello,
Google search consol has detected some errors related to my AMP pages. My “paperleaf” theme doesn’t have an AMP template.
I noticed that the errors were related to SoundCloud’s Iframes. Below are the errors encountered:

https://jbboccaren.com/ia/amp/:974:0 The attribute ‘width’ in tag ‘amp-iframe’ is set to the invalid value ‘100%’. (see https://amp.dev/documentation/components/amp-iframe)
https://jbboccaren.com/ia/amp/:974:0 The attribute ‘frameborder’ in tag ‘amp-iframe’ is set to the invalid value ‘no’. (see https://amp.dev/documentation/components/amp-iframe)

How can I fix these kind of errors? Should I create an AMP template?
You can check for errors in the js console with the address /amp/#development = 1

Thank you !

Hello,
According to this page :

Iframes of soundcloud should be integrated as the following code:

<amp-soundcloud height=657
layout="fixed-height"
data-trackid="243169232"
data-visual="true"></amp-soundcloud>

Except that I have to load a script to make it works. I tried to load this script with the post injection of ghost in the Header or in the Footer, but it don’t works…

Any idea ?
Thank you

you can see the allowed attribute values here https://github.com/jbhannah/amperize/issues/126

fixing them in the embed iframe will fix the amp as well

I fixed these issues in my site as well

hello, thank you very much !