
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
- Document Permissions ... User array vs T...
In my app, I will have multiple users who need read accesss a document, but ONLY them. Sometimes its 2 people and sometimes it will be 100 but sometimes 5000. ...
- Organization-level project listing
Hi, does Appwrite support full organization-level project listing via the SDK?
- null
