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
- Creating a relationship with nested obje...
{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "j...
- Realtime integration with SSR auth
Hey, I have a nextjs website with SSR auth, works great. I use a session client for user verification and an admin client with API key. Both is used with node-...
- Updating console to 1.8
Hey! Does anyone know how to update the appwrite console only? I am using console 1.7.4 but it has UI/UX issues 🙁
