ShibaOriginal post
Rank 2: Process
PowerShell
appwrite | [Error] Method: GETappwrite | [Error] URL: /v1/functions/:functionIdappwrite | [Error] Type: Appwrite\Extend\Exceptionappwrite | [Error] Message: Function with the requested ID could not be found.appwrite | [Error] File: /usr/src/code/app/controllers/api/functions.phpappwrite | [Error] Line: 461appwrite | [Error] Timestamp: 2024-03-13T03:41:32+00:00appwrite | [Error] Method: POSTappwrite | [Error] URL: /v1/functionsappwrite | [Error] Type: Utopia\Database\Exception\Duplicateappwrite | [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.phpappwrite | [Error] Line: 833on latest cli and Appwrite.
Summary
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.