Back

AppwriteException: "Document with the requested ID already exists

  • 1
  • Databases
  • Web
IrfanshaikH
11 Jan, 2024, 15:40

I was assigned a issue to resolve this bug: I reviewed the code and dont seem to find the solution

TL;DR
Title: "AppwriteException: Document with the requested ID already exists;" Developers are encountering an "AppwriteException" stating that a document with the requested ID already exists. They suspect that the issue might be related to relationships within the app. In the network tab, they found a payload that might be relevant to the problem. The error seems to be caused by line 4 in the appwrite.config file. The developer has reviewed the code but has been unable to find a solution for the bug.
IrfanshaikH
11 Jan, 2024, 15:42

Line 4 is causing this error

IrfanshaikH
11 Jan, 2024, 15:42

This is where im import ID from

IrfanshaikH
11 Jan, 2024, 15:43

This is the appwrite.config file

IrfanshaikH
11 Jan, 2024, 15:44

@Kenny

IrfanshaikH
11 Jan, 2024, 15:45

This is from network tab under payload

Kenny
11 Jan, 2024, 15:56

Are you using relationships?

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