troubleshooting Question

Getting CORBs warning on pixel in Web-app (content type different when run directly in Browser and works as designed)?

Avatar of MJ
MJFlag for United States of America asked on
Web Development* Cross-origin resource sharing (CORS)JavaScriptNetworkingNetwork Security
3 Comments1 Solution51 ViewsLast Modified:
I'm trying to figure out how to resolve a CORBS warning I'm getting based on Floodlight Marketing Tags. Here is the issue. I have pixel A, which is the initial pixel and it loads In the web app:

Pixel A ==>
Pixel A Content-Type ==> text/html
Pixel A redirects to Pixel B which has the same host and same content type.

Pixel B ==>
Pixel B Content-Type ==> text/html

And Pixel B throws a CORBs warning that Pixel B's response was blocked and Pixel C is not piggy-backed by Pixel B (which it should be).


If I drop Pixel A in the browser address bar, it functions as expected. Directly in the browser:

Pixel A ==>
Pixel A Content-Type ==> text/html
Pixel A redirects to Pixel B which has same host but different content type.

Pixel B ==>
Pixel B Content-Type ==> document
Pixel B loads Pixel C which has facebook hostname but different content type.

Pixel C ==>
Pixel C Content-Type ==> gif
Here is the message I get which corresponds to Pixel B:

Cross-Origin Read Blocking (CORB) blocked cross-origin response;dc_pre=CM3pmtTmgugCFQ1B4AodPtwDog;src=4587700;type=ccb;cat=ccbartic;;u12=0;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=435926103515.3517 with MIME type text/html. See for more details.


So first of all, why is the content type different for Pixel B when I drop Pixel A directly in the browser compared to pixel A being invoke via the web app?

Can this content-type be the reason I'm getting the CORBS warning and the response of Pixel B being blocked?

Any ideas what can be done to eliminate this CORBs issue in the web app?


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros