CORB policy blocking errors on production


I have sentry configured and working correctly in our staging environment. However, I just noticed an issue on production. A JS error would be thrown and then I see this in the console:

Cross-Origin Read Blocking (CORB) blocked cross-origin response with MIME type application/json. See for more details.

My first thought was to check the mime type of the script throwing the error, this was correctly set to application/javascript

I have the Allowed Domains set up correctly for this project, in the format of

Wondered if anyone could point me in the right direction here?


The error being thrown is from a 3rd party script when running locally.

But on production this script gets built into the main.js file.

Full error I am receiving on prod:

main.1ed33d61adc0201df49e.js:1 Unhandled Promise rejection: Timeout ; Zone: <root> ; Task: Promise.then ; Value: Timeout
Uncaught (in promise) Timeout

Which is documented here,