Basically, I was creating a new document in a collection, and I received this error, that the document ID already exist. This is not true, because the old document with the same ID has been deleted, but probably for some reasons it's still in memory. So, how to fix that?
If you refresh and try again what happens?
Nothing at all. But I discovered what happened, and it's a bug on the error displayed. Basically, there was a relationship inside the collection, with another document, one-to-one. And I was trying to add another document with the same relationship, and the one I shared above it's the error displayed.
Yeah, I’ve run into that before, I think
Also happens when unique index is being violated
I don’t have any index right now
Just wanted to say that you do get the same error message when a unique index is being violated. The error message is somewhat misleading in this case
Recommended threads
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...