Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts

Hi there,

I’m encountering an issue with blocked script execution in a specific URL. The error message reads: “Blocked script execution in ‘’ because the document’s frame is sandboxed and the ‘allow-scripts’ permission is not set.”

It seems that the document’s frame is sandboxed, but the ‘allow-scripts’ permission is missing or not set correctly. As a result, JavaScript execution is being blocked, causing functionality issues on the page.

I’ve already checked the configuration, but I’m unable to identify the root cause of the problem. Could someone provide guidance on how to properly set the ‘allow-scripts’ permission in the sandbox configuration?

Any insights or suggestions would be greatly appreciated.

17 Likes

Any answers regarding this?

3 Likes

Im having the same issue, would appreciate if someone could help out!

1 Like

Having same issue…

I have same issue

same issue

same issue here

Same here

I’m also having this issue after updating my libraries, can someone from Shopify check on this? I think many apps are being affected!

I indeed have found that the block script url is not affecting my React application, so this is maybe not a blocker for apps using React. Also did not affect the AppBridge execution, everything seems to be normal, however is actually annoying having this in your console, I hope this is solved soon.

2 Likes

Same here.

same issue, has anybody figured out how to solve this problem?

Same same. waiting for a fix…

I have the same issue :disappointed_face:

Same issue here. Any answer?

so they don’t offer help this is the only way and then they don’t help you. cool.

Disabling ad blocker extensions on chrome fixed my issue. Hope this will help

Weirdly, adding a Polaris Page component wrapper to my Remix component (so it wasn’t starting with just Layout) solved this for me…

same. app dev been stuck for half a year by now..

Any update?