Back

unique is for document

  • 1
  • Databases
mijn_bassie
16 Aug, 2024, 17:56

Hey there,

If i try to create a new document for a new user it says Document with the requested ID already exist, but i use ID.unique() and if i consolemlog that it also hives a new one. Can someone help me

TL;DR
Developers experiencing issue with creating new documents for users are receiving an error stating that the document ID already exists, despite using ID.unique(). The solution is to ensure that the unique method is working properly and generating new IDs correctly.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more