App reviews, troubleshooting, and recommendations
Hi there,
I'm encountering an issue with blocked script execution in a specific URL. The error message reads: "Blocked script execution in '<URL>' 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.
Any answers regarding this?
Im having the same issue, would appreciate if someone could help out!
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.
Same here.
same issue, has anybody figured out how to solve this problem?
Same same. waiting for a fix...
I have the same issue 😞
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?
Same here
Can you reply with code? been dealing with this for too long
Is your route wrapping its return in a <Page> component? If not, try this. So, <Page><Layout>...</Layout></Page>.
I can't say why this worked for me, perhaps Page is more compulsory than the docs suggest, but it instantly solved the problem for me at least.
Not for me, I'm stuck on this even on the app template.
For me, the stock app template was sporadically giving this issue. I checked all server headers over and over, and all was as it should be. But do check that your entry.server.js is running addDocumentResponseHeaders (it should be by default). Beyond that, who knows!
What's become clear to me porting an app from express over to remix is that it's very much a buggy work in progress with incomplete documentation, and I don't think the Polaris team and the Remix team are entirely aligned on how things work...
I understand. Unfortunately, entry.server.js has addDocumentResponseHeaders so there's nothing I could change in the current setup.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025