I've got a local installation of Laravel and I am using dropzone to upload images to the application.
However, some of the JPGs fail to upload.
The requests for the images that works has a mime-type of 'mimeType' => 'image/jpeg', while those that fail have 'mimeType' => 'application/octet-stream'. Yet they are all jpgs. I get a 422 response for the failed uploads.
I removed the "required" validation from the controller, now I get a FileNotFoundException when I upload the failing images. This happens with postman as well so I can rule out and any problems with dropzone.
All the failing files have a size > 2MB. A file with size 2MB is successfully uploaded.