You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you embed an Amazon book, there are three buttons. The Share button doesn't work.
To Reproduce
Steps to reproduce the behavior:
Create a new post
Paste in https://www.amazon.com/Dune-Frank-Herbert/dp/0441172717 in an empty paragraph
Preview post, then click "Share"
See error in console
Expected behavior
Share button should work, but appears blocked on some CORS issues.
Error from console:
ClientSideMetricsAUIJavascript@jserrorsForester.10f2559e93ec589d92509318a7e2acbac74c343a._V2_.js:4 Error logged with the Track&Report JS errors API(http://tiny/1covqr6l8/wamazindeClieUserJava): {"m":"Failed to read the 'localStorage' property from 'Window': Access is denied for this document.","name":"SecurityError","csm":"v5 ueLogError stack","logLevel":"WARN","attribution":"adb","pageURL":"https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20","f":"https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20","l":"251","s":["Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.","at https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20:251:226","at https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20:13:375","at https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20:251:459"],"t":838} {m: "Failed to read the 'localStorage' property from 'Window': Access is denied for this document.", name: "SecurityError", type: undefined, csm: "v5 ueLogError stack", logLevel: "WARN", …}
The text was updated successfully, but these errors were encountered:
Hi @jasmussen, thank you for reporting this issue! I'm not able to reproduce this issue anymore, the share button works fine when I preview the post using the embed you provided, It may have been some temporary issue that Amazon WordPress meanwhile solved. If you are still able to reproduce the problem, feel free to comment/reopen the issue and we will debug further.
When you embed an Amazon book, there are three buttons. The Share button doesn't work.
To Reproduce
Steps to reproduce the behavior:
https://www.amazon.com/Dune-Frank-Herbert/dp/0441172717
in an empty paragraphExpected behavior
Share button should work, but appears blocked on some CORS issues.
Error from console:
The text was updated successfully, but these errors were encountered: