Skip to content
Init is coming / May 19 - 23
Back

createDocument bug

  • 0
  • Web
shefa
10 May, 2025, 00:00

why Im getting this??? let me make it easy for you. Do you have Indexes? No. Do you have relationship attributes? No. And the funny part is that it creates the first document fine, but the second one produces this error even if im using ID.unique() pls help

TL;DR
Developers encountering a specific issue when trying to create a second document after successfully creating the first one. The error seems to be related to unique IDs. Possible solution: add unique constraints to the ID field to ensure each document has a distinct identifier.
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