I encountered a server error while creating a function in appwrite. Although the repository was successfully created, attempts to connect the function directly to the repository resulted in another server error. Consequently, I deleted everything, including the repository, and tried creating a new function. However, the same server error persisted.
The appwrite logs indicated a duplicate document error, even though I had deleted everything. This confused me, as there shouldn't be any documents with the previous IDs. Interestingly, using a different ID for the function creation was successful. This raises the question: why was there a duplicate document error when no documents matched the previous IDs?
appwrite | [Error] Line: 833
appwrite | [Error] Timestamp: 2024-04-01T03:15:55+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/functions
appwrite | [Error] Type: Utopia\Database\Exception\Duplicate
appwrite | [Error] Message: Duplicated document: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '65c8e921c47f043fad0f' for key '_uid'
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php
appwrite | [Error] Line: 833
Recommended threads
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...