
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
- Suggested docker-compose.yml uses known-...
The version of `docker-compose.yml` in the self-hosted instructions uses the image `appwrite/console:6.0.13` for the `appwrite-console` container. This version ...
- Limit File Upload count?
Is there a way to limit the number of files a user can upload? I know there's a limit of file size but in my case I'd like to limit the user to only upload x am...
- Asynchronous Function Execution via Func...
Hi everyone, Is there a way to call a function via its function domain URL with async execution set to true?
