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
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...