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
- Framework categorization for Sites
Hello, I want to deploy my web app via Appwrite SItes. My web app is vite+reactjs. In the Appwrite docs, it creates a vite+react app, and chooses React from the...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...