
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
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- Is it possible to cancel an ongoing file...
When uploading a file to storage, is there a way to cancel the upload in progress so the file is not saved or partially stored?
