Rank 2: Process
I use uuid to create new id for one document. Everything work fine with other document but the only one document it return this exception. I don't know where the issue is. Please support me. My project id is 6568914e5e96c980d480
Votes
0
Replies
10
Participants
Unknown
Messages
11
Rank 2: Process
I use uuid to create new id for one document. Everything work fine with other document but the only one document it return this exception. I don't know where the issue is. Please support me. My project id is 6568914e5e96c980d480
Rank 5: Hypervisor
I have experienced this before because of misconfigured on setting up the relationship attribute. Maybe I can help for you this, if not maybe the appwrite team can help you then.
Rank 5: Hypervisor
Can I know what is the configuration of your relationship?
Rank 2: Process
I set one relationship as one to many and other as one to one
Rank 2: Process
But other collection work with this relationship
Rank 5: Hypervisor
you have to make sure that inserting an attribute each document is unique
Rank 5: Hypervisor
for example
child 123 is connected to parent A,
child 123 is connected to parent B,
In that scenario this will be thrown an error it will say that your document is duplicated. Why? because the relationship could be one to one
Rank 5: Hypervisor
the relationship should be Many to one
Rank 2: Process
Oke sir. I will check it again
Rank 2: Process
it is my fault
Rank 2: Process
i have set the wrong relationship type for the related document. Thank you for your support.