Hi!
I just wanted to push a cloud function to my self hosted Appwrite 1.7.4 server. While the init part works (I can see the function in the web console), i'm not able to push function to the server anymore.
I can run the function local just fine.
In the Appwrite logs i can see the following:
appwrite | [Error] Timestamp: 2025-09-22T10:47:20+00:00
appwrite | [Error] Method: PUT
appwrite | [Error] URL: /v1/functions/:functionId
appwrite | [Error] Type: Utopia\Database\Exception
appwrite | [Error] Message: Must define $id attribute
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
appwrite | [Error] Line: 4111
The error i get when i use the CLI to push the function is the following:
AppwriteException [Error]: Server Error
at Client.call (C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\client.js:214:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async functionsUpdate (C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\functions.js:494:16)
at async C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\push.js:1440:24
at async Promise.all (index 0)
at async pushFunction (C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\push.js:1417:5) {
code: 500,
response: 'general_unknown'
}
appwrite -v: 8.3.0
Can anyone help me getting this to run again? All the functions that are already deployed are working fine...
Hey, did you upgrade recently?
Recommended threads
- functions domain error
I cannot set up the domain for function I’m trying to add the domain api.example.com I can only use Cloudflare as the DNS provider because my domain provider do...
- Storage Bucket Permissions
Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?
- Python function - error while creating /...
I have been trying to figure it out myself for the last 2 days. I have self-hosted appwrite instance, and I am running python 3.12 function. It works great up t...