Back

Appwrite upload fail

  • 0
  • Flutter
  • Storage
Zionnite
4 Feb, 2024, 09:07

hey guys, have been trying to upload a particular picture of about 6.34mb to appwrite, everytime i tried to upload it, i get Unhandled Exception: AppwriteException: storage_file_empty, Empty file passed to the endpoint. (400)

I have checked and doubled checked, empty picture is not selected, but when i do upload picture of about 1mb, 2mb do upload is always successful

please, what am I missing?

TL;DR
Issue: Unable to upload a specific picture of 6.34mb to Appwrite, getting a "storage_file_empty" error message. Solution: The "storage_file_empty" error typically occurs when an empty file is passed to the endpoint. Double-check that the picture file is not empty. If the file is not empty, try the following troubleshooting steps: 1. Check the file format: Make sure the picture file has a supported format (e.g., JPEG, PNG, etc.). 2. File size restrictions: Confirm if there are any file size limitations imposed by Appwrite. If so, ensure that the picture file does not exceed
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