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
- Invalid query: Query on attribute has gr...
I cannot view the table within the Console
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...