You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a collection A with an attribute relationship to collection B
Then create a doc of Collection A with attribute to id1 in collection B
Then create another doc of Collection A with attribute to also id1 in collection B
error
👍 Expected behavior
To add the new document normally with its unique id
👎 Actual Behavior
logs
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: Document with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.
appwrite | [Error] File: /usr/src/code/app/controllers/api/databases.php
appwrite | [Error] Line: 2913
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Windows
🧱 Your Environment
Selfhosted
Permissions all any
appwrite Version 1.4.8
👀 Have you spent some time to check if this issue has been raised before?
mokamhawy
changed the title
🐛 Bug Report: Server Error, already existed ID, using relationhips, create document
🐛 Bug Report: Server Error, already existed ID, using relationships, create document
Oct 31, 2023
👟 Reproduction steps
👍 Expected behavior
To add the new document normally with its unique id
👎 Actual Behavior
logs
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Windows
🧱 Your Environment
Selfhosted
Permissions all any
appwrite Version 1.4.8
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: