And what is the ID now of the first document in the console?
[SOLVED] I am getting a 409 Error || Document with id already exists
Votes
1
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
let me see
Rank 1: Thread
6480eb7440b21da4f576 - this is the id now
Should I call the Add function
Mmm. Then it should work
Rank 1: Thread
Same issue
And you keep sending the ID.unique()?
Rank 1: Thread
yes
So it should create new document ID each time. It looks like it stock on some ID.
Rank 1: Thread
yes
Admin
What's the payload tab show?
Also, do you have a unique index on the collection?
Rank 1: Thread
This is the payload
Rank 1: Thread
Yes , I have used ID.unique() while creating
Admin
No a unique index on the collection. Go to your collection in the Appwrite console and go to the indexes tab
Rank 1: Thread
yeah , I have set the email and tableName as index
Admin
That's what's causing the duplicate error then
Rank 1: Thread
Rank 1: Thread
oh okay,
Thank You
Rank 1: Thread
Yes , I am able to save them
Admin
Huh?
Rank 1: Thread
I meant , I am able to write the queries to the database
Admin
So you're good now? Problem resolved?
yep
@Steven sorry intention was to send to another channel
Rank 1: Thread
yep its working fine , sorry didn't see the message , also Can send emails from appwrite cloud
Moderator
[SOLVED] I am getting a 409 Error || Document with id already exists