Rank 1: Thread
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...