-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Error 'Document with the requested ID already exists' when tries to upload video #5686
Comments
Hey @joec05, Have you make sure that the bucket ID and file ID you are using for the video are correct. Double-check that they match the actual IDs of the bucket and file you want to upload the video to. |
well, yes. i even used tried changing the bucket id to the bucket id of the image bucket's. it still returned the same error. |
Hi, what is the size of the video? I ask you this because I have already encountered this problem with large files (greater than 5MB). I had the same error message... I use the appwrite sdk flutter and you? Have you solved your problem? |
Hi, I have the same problem. When I uploaded a video larger than 30MB, the same error was returned. It should be larger than 5M and this problem arises. |
well to be honest i didn't really pay attention to that, but maybe i'll actually try with a smaller sized video. |
Hi, It appears as thought files larger than 5MB really do cause this issue. Any fixes yet? |
Hello, Same problem here with the Kotlin/Android SDK
|
Hello, 👋 if the problem is solved with a file of less than 5 MB, the problem comes from cutting and receiving the file. I think that the server after receiving the first party blocks the rest of the file for no real reason. In my case I started by testing with the appwrite cloud server and the most no problem, so I understood that it came from my server. I reinstalled my server and no more problems. If you have a self-host server you should try this solution.😉 Have good day ! |
Closing as a duplicate of #5563 |
👟 Reproduction steps
i used this function for uploading both images and videos. with images it succeeded but not with videos.
👍 Expected behavior
I believe just like when uploading image, uploading videos should have been successful because in the client i'm using the same function as the one i used to upload images.
👎 Actual Behavior
but it didnt. it returned an error with the message: '{message: Document with the requested ID already exists., code: 409, type: document_already_exists, version: 0.10.30}'. the only difference between the images and videos in the storage was that i used a separate bucket, and i had double checked the bucket ids. even i tried uploading the video to the image's bucket, but still to no avail.
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Windows
🧱 Your Environment
i am using the 9.0.0. i tried downgrading to 8.1.0 but still everything doesnt change.
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: