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
- _APP_OPTIONS_ROUTER_PROTECTION
Hi Everyone, I just setup a fresh 1.9.0 on a server. Configured everything and now when i try to connect to appwrite for first time setup i get a _APP_OPTIONS_R...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...