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
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...