
I am trying to create a blog application using react as frontend and appwrite as backend service. I can add or create one post but when i try to add second post i got error
- appwrite.js?v=ccfb24fa:850 Uncaught (in promise) AppwriteException: Document with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID. at Client. I have tried using ID.unique() but got the same error. Can anyone please help me solve this issue.

Can you share the appwrite version and sdk version?

im new here but looks like youre passing slug as id, maybe for others can you post picture of the document in appwrite cosole aswell
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
