Skip to content
Back

Existing ID bug?!

  • 1
  • Databases
  • Web
shefa
27 Apr, 2025, 21:23

Idk why this happens can someone explain!! why Im getting this error even if I "manually clear the collection" ?

TL;DR
Developer experiencing an ID bug related to relationship attributes. Suggestion to check if unique index is causing conflict in the collection. Unique index might be the reason for the error even after manual collection clear.
Steven
27 Apr, 2025, 21:45

Do you have a unique index on the collection? That could be causing the conflict

shefa
27 Apr, 2025, 21:49

what do u mean by unique index?

shefa
27 Apr, 2025, 21:50

@Steven

Steven
27 Apr, 2025, 21:56

If you go to your collection in the Appwrite Console, you'll see an Indexes tab next to the Attributes tab

shefa
27 Apr, 2025, 21:57

Never used it, no

Steven
27 Apr, 2025, 21:57

Besides that, do you have relationship attributes?

shefa
27 Apr, 2025, 21:57

yes

Steven
27 Apr, 2025, 21:59

Keep in mind, relationship attributes are experimental and you may run into performance problems using them.

Relationships could be the problem. Maybe the user doesn't have access to the document

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