Resource interpreted as Document but transferred with MIME type application/json warning in Chrome Developer Tools

How to fix this...


This is an misleading error, chrome is actually saying it cant find that file. Go ahead and reploy static assets by magento setup:static-content:deploy or magento setup:static-content:deploy -f if in developer mode.

|improve this answer|||||
  • But the json response print directly in screen – Mahi M Aug 1 '18 at 3:37
  • what does the json say? – Chris Anderson Aug 1 '18 at 16:15
  • it returns ajax call response displayed in the screen. – Mahi M Aug 2 '18 at 3:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.