
so when i try to upload chunked file with the restapi i get an error message of fileId is not optional. but according to the documentation Contains the file ID of the new file. Only used by file chunks following the first chunk uploaded.
which i did used only for the first chunk. and i also tried putting the fileid field with similar id if that would work A storage file with the requested ID already exists
which makes sense and i also tried adding unique()
which is the id to fileid on both chunk but that created both chunk. which is not what i want or what should happen.

How are you going to break up your file to 5MB chunks with postman?

sorry. wrong image. i wanted to send the error message.

written in rust

seems like you're missing the file id in the chunk form. have you looked at what our SDKs are doing? like the web SDK: https://github.com/appwrite/sdk-for-web/blob/ca8cb1d9f2c0393ec99c7d5cb50f3be543987918/src/services/storage.ts#L93

I am using your sdk (python,dart, JavaScript) for some directions. Maybe i missed something. I'll check it out again and give you a feedback.
Recommended threads
- Is it possible to create a new platform ...
Hi! I am trying to see if it would be possible to programmatically create a new platform via the Appwrite API? I am using Appwrite 1.6.x and it seems I am missi...
- Server side authorization
Hi, I have a Flutter application were I'm handling user authentication using Appwrite. Now I have to create a backend with some rest api. I need the api to be p...
- Rate limit when proxying client request
Hi For my appwrite setup I proxy everything through my Nuxt backend to be able to have the cookies rewritten to my domain without having to write the endpoints...
