TypeScript
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/functions/:functionId
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: Function with the requested ID could not be found.
appwrite | [Error] File: /usr/src/code/app/controllers/api/functions.php
appwrite | [Error] Line: 461
appwrite | [Error] Timestamp: 2024-03-13T03:41:32+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 '65f11c64d39f778a62fb' for key '_uid'
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php
appwrite | [Error] Line: 833
on latest cli and Appwrite.
TL;DR
Developers are encountering a server error when trying to deploy a function on the latest Appwrite version. The error messages show a function ID not being found and a duplicated document entry issue. Check the function ID and ensure no duplicates are being created to resolve the problem.Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...
- Function crash first run after a while
Big issue I’m facing , almost all functions crash or run for a very long time the first time i run them after a long time without running them I have a “help-c...