Disallowed MIME type in elgg 3.2
daveonche opened this issue · 6 comments
Freichat API was blocked because of a disallowed MIME type (“application/json”) in elgg 3.2.
Can you give us some more detail, Where did this error occur?
Hey do you have a screenshot of this error?
Hi evnix,
The conversations box wasn't showing up, so i checked the browser's console and discovered the error. Now, its working but on mobile devices, when clicking the floating chat icon, it throws an error page as attached above and i get the following error in my browser's console:
"Error: Error: "Not a 2xx fetch"
tinyxhr https://nodelb.freichat.com/api/static/v1/freichat-float.bundle.js:1
f https://nodelb.freichat.com/api/static/v1/freichat-float.bundle.js:1
Dl https://nodelb.freichat.com/api/static/v1/freichat-float.bundle.js:22
f https://nodelb.freichat.com/api/static/v1/freichat-float.bundle.js:1
t https://nodelb.freichat.com/api/static/v1/freichat-float.bundle.js:1
freichat-float.bundle.js:1:31212
Chat initialized"
Sorry for the late response. Thanks.
Hi evnix, will there be a fix for this issue above on mobile devices?
Thanks.
Hi,
There was an error on our side which was fixed yesterday. Are you still facing this issue?
Yes, still having the same error page on mobile devices.
This might help a little
https://elgg.org/discussion/view/1431457/sending-json-to-web-services-using-post