Base solution for your next web application
Open Closed

Refused to execute script from 'http://localhost/Error?statusCode=404' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. #5928


User avatar
1
narrow11 created

Refused to execute script from 'http://localhost/Error?statusCode=404' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    How to reproduce this error?

  • User Avatar
    0
    narrow11 created

    during runtime error during inspect

    Refused to execute script from 'http://localhost/Error?statusCode=404' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

    net::ERR_SPDY_PROTOCOL_ERROR

    and this error effect the notification and sub menu and alll lists

    best regards

  • User Avatar
    1
    alper created
    Support Team

    it's because you make an ajax request and it waits a json response. but in your action you get an exception and it returns error page. can it be the scenario? if so; catch your exception in host and return it as a message in your json