Hello, We have a private app which does a few things like downloading a list of order numbers and other info so that we can put that data into fedex and as of today it began to give us an error.
The App loads fine but when we click the export orders button it does its thing and says it exported the orders but does not download the CSV file and also displays this error in the iFrame window "Requests to the server have been blocked by an extension."
in the console, I get these errors...
Refused to frame '' because it violates the following Content Security Policy directive: "child-src 'self' https://* shopify-pos://*". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('<app url>') does not match the recipient window's origin ('null').
Not allowed to load local resource: blob: <app url>
i replaced our app url with <app url>
Obvious starting place would be to make sure you don't have an extension blocking the request. A common one would be browsers with Adblock installed - perhaps the rules in that extension are now blocking the paths you're trying to access.
I had done the obvious and whitelisted both the Shopify back-end and the API domain. No extra extensions and happening on all computers with similar things happening on other browsers other than Chrome. I know not many people run private apps but I just wanted to see if it was just our case or if it was happening to more than us.
After further investigating, The error is not from the API Request or the Loading of the App page. It comes on when a link is clicked to download a CSV of order data. Just going to have to reevaluate how we download that data.
This is not caused by an extension. This is something recently introduced into Google Chrome and other browsers. Shopify indicates that the app should be loaded only if it matches any of these filters
Chances are that you are loading your site or file from a non HTTPS website. If you open up the console, it should tell you which link you are using for the app.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022