Back

REST API error : Request Entity Too Large

  • 0
  • Self Hosted
  • Storage
  • REST API
Alex
14 Mar, 2025, 18:23

When trying to upload file to bucket (file size is 12mo), I got this error: Request Entity Too Large

I'm using REST API because I'm calling appwrite from n8n workflow on a HTTP node. Please help.

TL;DR
REST API error "Request Entity Too Large" occurs when trying to upload a file larger than the 5mb limit. To resolve this, developers need to stream files to the server using HTTP chunks. The Appwrite SDK handles this automatically in the background. More information on using the REST API with larger files can be found at https://appwrite.io/docs/apis/rest#files.
Eldad
14 Mar, 2025, 18:25

Each request payload is limited to 5mb. If you want to upload larger files you'll need to stream them to server using http chunks

Eldad
14 Mar, 2025, 18:25

You can see here how to use the REST API with larger files: https://appwrite.io/docs/apis/rest#files

Eldad
14 Mar, 2025, 18:26

if you're using the Appwrite SDK that is already taken care of in the background.

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