Back

Upload of .jpeg file is failing: "File extension not allowed"

  • 0
  • Web
  • Storage
  • Cloud
Mathis
22 May, 2024, 11:13

When trying to upload a file with an extension of .jpeg appwrite is returning a "File extension not allowed" error. Uploading the same picture with .jpg works. Content-Type is set to image/jpeg. Why doesn't this work?

TL;DR
Developers are experiencing issues uploading .jpeg files with Appwrite, receiving a "File extension not allowed" error. Uploading the file as a .jpg works fine. The solution is to check the file extension restrictions specified in Appwrite's file upload configuration.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more