FROM CACHE - en_header

Request to the server has been blocked by an extension

Ian_Brown
Tourist
29 0 1

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>

Replies 5 (5)
Ian_Brown
Tourist
29 0 1

has anyone else had this issue?

Jason
Shopify Expert
10959 196 2213

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 jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
Ian_Brown
Tourist
29 0 1

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.

Ian_Brown
Tourist
29 0 1

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.

Lenin1
Shopify Partner
3 0 0

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 

https://*     shopify-pos://

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.