Hello,Suddenly my file upload no longer works. Everything works fine on local host, I can no longer upload files on the server, I keep getting the message file not found and file type not allowed.
I have already deleted everything and regenerated it and put it online, but with the same result.No idea where to look for a solution. Thanks in advance for any help.
You may start by enabling the Debug mode in your web application, and see whether it would help you to find out the error/warning message.
Also see Check HTTP Response.
Hello,
Thanks for the feedback. No causes found in debug mode either.
One warning: mtgm.js:92 [Deprecation] Listener added for a synchronous ‘DOMNodeInserted’ DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.but I don’t think this is relevant
Yes, it is irrelevant. When you check HTTP response, check the server side error in the response in the Network panel also as suggested (make sure you find the upload request first), not just JavaScript errors in the Console panel.
this is the HTTP response:
{
"files": [
{
"name": "1696356299-6222",
"size": 280,
"type": "application\/x-www-form-urlencoded;charset=UTF-8",
"error": "File type not allowed"
}
]
}
Hello, I found it. Ininite scroll corrupted my uploads
tom wrote:
“error”: “File type not allowed”