We are trying to embed our app, built in React Vite and we keep getting the same errors regarding the iframe:
Blocked script execution in ‘’ because the document’s frame is sandboxed and the ‘allow-scripts’ permission is not set.
Refused to frame ‘https://github.com/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘none’”.
I’m not sure if GitHub allows the CSP for the framesource but not sure how to get around it so we can keep building out the app. Been stuck here for 2 days. Any thoughts?
I think there is a piece of middleware missing that helps install the Content Security Platform and this is using NextJS framework. Seems to solve the issue.
I wrestled with this one for weeks, until I found that adding a Polaris component wrapper to my Remix component (which probably should have always been there) made this error go away. Wasn’t aware that was absolutely compulsory, but it solved this one immediately.
I’ve been seeing this message throughout the year. The app would load in fits and starts. Right now it’s not loading. Found this looking to see if others are having the issue. And it looks like they are. I’m about to comb through the authentication system…