Refused to execute script from 'http://X.X.X.X/test/ruxitagentjs_ICA27SVfghjqrux_10177191024092634.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Hi,

We are getting below error whenever trying to enable BRUM JS automatically in one of our application.

Refused to execute script from ‘http://X.X.X.X./test/ruxitagentjs_ICA27SVfghjqrux_10177191024092634.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.

We tried to investigate the issue and observed that content-type of this JS is being changed from “text/javascript” to “text/html” somehow… Please suggest if you guys have any idea about this.

Regards,

Deepanshu

Please create a Dynatrace support ticket as this seems to be an issue within your environment: https://www.dynatrace.com/support/contact-support/