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
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Database not found when attempting to Li...
So, I am doing this in postman to eliminate any possible weirdness from my SDK, and still unable to hit any document level endpoint for my database. I am tryin...
- module 'appwrite.query' has no attribute...
In python im running this line: from appwrite import query database = Databases(client).list_documents(database_id= 'xxx', collection_id= 'xxx', queri...