Google Chrome shows the status of XHR call as (blocked:other)
Solution 1
one possible resolution if you use adblock or any plugins like that, unenable that
Solution 2
This massively helped me. Was related to ad blocker. My ajax url had the word 'advert' in it so the ad blocker
https://stackoverflow.com/a/56048381
Solution 3
Since you mentioned mixed content, it may be caused by ajax with http protocol in a https context, which will be blocked.
Saurabh Tiwari
Love to code and learn new technologies continuously. Being a software developer, writing code and making things happen give me a kind of pleasure. Apart from coding, a movie animal, party animal.
Updated on July 09, 2022Comments
-
Saurabh Tiwari almost 2 years
I am getting the following status in one of my http call. I haven't seen this status before. All my call are being blocked and no hits are received at server.
I tried looking up for it and found that it might be due to something called Mixed content. Unfortunately, I do not have much idea about that either.
Can someone explain what might be causing this issue and how to get around it. ?
-
bombek over 4 yearsWhat is more interestting uBlock blocks calls to our domain api, I think because of /googleanalytics endpoint.
-
garg10may over 4 yearswhat would I do without stackoverflow, this error is so random. I have 100s of api but all work fine but one stopped
-
leonheess about 4 yearsFor me it was PrivacyBadger
-
Ganesh Jadhav almost 4 yearsFirefox security settings were blocking APIs for me.
-
uchamp almost 4 yearsAdBlock indeed! I'm guessing it had something to do with a particular set of rest URIs that had the word 'affiliation' in them. The rest of the app worked fine.
-
vishal about 3 yearsFor me it was due to noscript extension. I had "disabled noscript globally" using the option in noscript configuration but it was somehow still blocking the script. So I finally disable noscript alltogether and then it worked.
-
myestery almost 3 yearsThanks a lot man, my
advert_template.jpg
had me debugging for 4 hours -
Tom Nijs over 2 yearsFor me it was the Brave browser. Thank you so much for this comment.
-
Akhilesh over 2 yearsFor me it was Adblocker Ultimate. Thank you