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:
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:
{
"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!
What SDK version are you using?
1.9.5
Only create permission
Now I set the RLS that every user can read and update now it seems like it works, but Ill test it later today
thank you, working on a fix π
fix is going live now π sorry for the inconvenience π
No worries :)
So can I disable RLS now? Or what should I change?
Thanks for the help
no need for read permissions on upload anymore π
Okay thank you very much for your help :)
Recommended threads
- Urgent Help
Hello Appwrite team, I urgently need your help. I am the founder of OnBuch, an EdTech application used by around 10,000 users in Cameroon. In the last two day...
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...