chunked upload not working anymore - Appwrite SDK (Web) 14.0.0 / 15.0.0 vs 17.0.0
- 0
- Self Hosted
- Web
- Storage

Hi, I’m experiencing an issue with** chunked uploads** after upgrading the** Appwrite Web SDK** from 14.0.0 to 17.0.0.
In version 14.0.0, I implemented resumable uploads by generating a hash based on the file, ensuring the same file always had the same file ID. This worked flawlessly—even after refreshing the browser, the upload would resume from where it left off and complete without issues.
After upgrading to 17.0.0, this functionality no longer works. It appears that Appwrite recognizes existing uploaded chunks (e.g., if the file is split into 10 parts and 4 parts are uploaded, it should continue from part 5). However, after a browser refresh, it starts again from part 1 but only uploads a portion of the file (e.g., up to part 6), and the upload stops before reaching 100%. It seems like the stitching process isn't completing correctly, but that's just my assumption based on the behavior.
I’ve tested multiple SDK versions, and the** last version** where this **worked **as expected was 15.0.0.
For context, I am running the latest self-hosted Appwrite 16.0.0 version on my server.

Here’s the code snippet I’m using for the uploads:
export const storage = {
upload: async (file, cb = (p) => {}) => {
const user = await account.get();
const userId = user.$id;
const hashID = await getFileHash(file);
console.log("hashID", hashID);
try {
const uploadFile = await storage.createFile(
BUCKET_ID,
hashID,
file,
[
Permission.read(Role.user(userId)),
Permission.write(Role.user(userId)),
Permission.update(Role.user(userId)),
Permission.delete(Role.user(userId)),
],
(progress) => {
console.log("progress:", progress);
cb(progress);
}
);
await refreshFileList();
return {
status: "ok",
data: uploadFile
};
} catch (error) {
return {
status: "error",
message: error.message
};
}
}
};
Could you let me know if there were changes in how chunked uploads are handled in 16.x.x or 17.0.0? Any suggestions on resolving this would be greatly appreciated!
I found two related issues on GitHub, but both have been closed: https://github.com/appwrite/appwrite/issues/8402 https://github.com/appwrite/appwrite/issues/9009
Thanks in advance!
Recommended threads
- Managed databases?
I'm evaluating Appwrite Cloud for a project. One of my requirements is that I can move to selfhosted down the road if it becomes necessary. After reading the...
- Dumb question, api key for app? Protect ...
I have my project set up, and I'm developing with Flutter. My app does not require users to log in to retrieve some general project data, but authentication is ...
- Update Document taking absurdly long
I'm making a food ordering app for businesses What im trying to do is to create a menu a restuarant is going to have posted all troughout the week, with certai...
