Skip to main content

Sorry to spam - I encountered another issue with the Classification process.

 

The DataCollection task runs javascript on line 3. The javascript references an external .js file which is throwing a MIME type error at runtime:

 

“Refused to execute script from 'https://pathfinder.automationanywhere.com/challenges/training/AITC/Prompts/js/training-challenge.js' because its MIME type ('application/xml') is not executable, and strict MIME type checking is enabled.”

 

I have no javascript experience, but it appears the problem can be fixed only by changing the external .js file (hosted by AA) or by turning off the MIME security on my browser (not an option).

 

Can anyone assist?

Hey Logan, apologies for that.  That appears to be a block from your corporations browser settings.  Are you doing this on a company provided device?


Hi Matt. Yes, it is provided by the company, however, it is a dummy device. If the only way is to disable the browser strict MIME enforcement, I can do that.

 

Just wasn’t sure if there is another way I am missing.


Well… this speaks to my ignorance but I actually don’t know how to disable the strict MIME type enforcement.


Hey Logan,

It seems that you have security in place that is stopping this, to change the MIME settings it is done within your CMD/Terminal. I would recommend contacting your IT department regarding this as this may be restricted by a group policy or security software due to the fact that you will be disabling security that is currently enforced.

At this point, if you have access to a personal device I would recommend trying it there.

If you have any further questions or issues, please reach out.

Thanks,


Reply