Skip to content
Back

Storage Chunk upload bug

  • 0
  • Web
  • Storage
  • Cloud
Zsombi
1 Jun, 2026, 15:12

Hi,

I'm experiencing an issue with Appwrite Storage chunked uploads.

Small files upload successfully, but larger video files that require chunking fail.

For example, when Im uploading an MP4 file (~18 MB) like this:

TypeScript
await storage.createFile({
  bucketId,
  fileId: ID.unique(),
  file
});

The first request succeeds with the first chunk and creates the file record:

The next request with the second chunk is sent automatically by the SDK but Appwrite responds with:

TypeScript
{
  "message": "A storage file with the requested ID already exists.",
  "code": 409,
  "type": "storage_file_already_exists",
  "version": "1.9.5"
}

It looks like the second chunk upload is being treated as a new file creation instead of a continuation of the existing upload.

Small files (that don't require chunking) work correctly.

Can someone help? Thanks!

TL;DR
Issue with chunked uploads on Appwrite Storage for larger files; second chunk treated as new file creation instead of continuing existing upload. Small files upload correctly. Solution: Under investigation.
Guille
1 Jun, 2026, 15:42

What SDK version are you using?

Zsombi
1 Jun, 2026, 15:57

1.9.5

Zsombi
2 Jun, 2026, 15:36

Only create permission

Zsombi
2 Jun, 2026, 15:36

Now I set the RLS that every user can read and update now it seems like it works, but Ill test it later today

Torsten Dittmann
2 Jun, 2026, 15:37

thank you, working on a fix πŸ™‚

Torsten Dittmann
2 Jun, 2026, 17:50

fix is going live now πŸ™‚ sorry for the inconvenience πŸ™

Zsombi
2 Jun, 2026, 18:19

No worries :)

Zsombi
2 Jun, 2026, 18:20

So can I disable RLS now? Or what should I change?

Zsombi
2 Jun, 2026, 18:20

Thanks for the help

Torsten Dittmann
2 Jun, 2026, 18:29

no need for read permissions on upload anymore πŸ‘

Zsombi
2 Jun, 2026, 19:06

Okay thank you very much for your help :)

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