Rank 3: Container
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!