Dropzone and Laravel - some JPGs fail to upload

Posted 2 years ago by mr.teapot


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.

All images from unsplash.com fail.

Does anyone have any idea why this is happening?

Thanks in advance,


Please sign in or create an account to participate in this conversation.