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
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...