Dropzone and Laravel - some JPGs fail to upload

Posted 1 year ago by mr.teapot

Hey!

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,

/Teapot

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

Reply to

Use Markdown with GitHub-flavored code blocks.