And what is the ID now of the first document in the console?
let me see
6480eb7440b21da4f576 - this is the id now Should I call the Add function
Mmm. Then it should work
Same issue
And you keep sending the ID.unique()?
yes
So it should create new document ID each time. It looks like it stock on some ID.
yes
What's the payload tab show?
Also, do you have a unique index on the collection?
This is the payload
Yes , I have used ID.unique() while creating
No a unique index on the collection. Go to your collection in the Appwrite console and go to the indexes tab
yeah , I have set the email and tableName as index
That's what's causing the duplicate error then
oh okay, Thank You
Yes , I am able to save them
Huh?
I meant , I am able to write the queries to the database
So you're good now? Problem resolved?
yep
@Steven sorry intention was to send to another channel
yep its working fine , sorry didn't see the message , also Can send emails from appwrite cloud
[SOLVED] I am getting a 409 Error || Document with id already exists
Recommended threads
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...