appwrite / appwrite/sdk-for-flutter

🐛 Bug Report: File upload fails if file is greater than 5 MB i.e., needs multiple chunks

Open
#239 10 comments 0 reactions 1 assignee Claimed by @EVDOG4LIFE View on GitHub
bug question
Dominant language
Dart
Stars
418
Forks
150
Avg merge
1h 23m
Merged PRs (30d)
3

Description

### 👟 Reproduction steps

I upload file smaller than 5 MB is its works no problem as soon as I try uploading file larger than that I run into below errors captured from network console and docker logs

This was different on Appwrite 1.6.0 with SDK 13.0.0 .. below the previous issue about this that was closed

https://github.com/appwrite/sdk-for-flutter/issues/225

The storage bucket has allows all users to be able to upload files, max file size is 300 mb, compression enabled with Gzip, encryption enabled and file security disabled

### 👍 Expected behavior

SDK should manage chunking and should upload the file

### 👎 Actual Behavior

![Image](https://github.com/user-attachments/assets/98c9d921-a1ea-46ed-a0ed-ee4ac4a0cfc7)
![Image](https://github.com/user-attachments/assets/5c030518-aa60-4bb2-ae9d-4f47cd1f9b01)

### 🎲 Appwrite version

Version 2.0.x

### 💻 Operating system

Linux

### 🧱 Your Environment

Appwrite self hosted 1.6.1
SDK 14.0.0

Same issue when tested with SDK 13.0.0

### 👀 Have you spent some time to check if this issue has been raised before?

- [x] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [x] I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.