Skip to content
Back

Unable to push functions

  • 0
  • Self Hosted
Matthias Merk
22 Sep, 2025, 11:07

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:

TypeScript
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:

TypeScript
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...

TL;DR
Developers are unable to push functions to their self-hosted Appwrite 1.7.4 server, encountering a 'Must define $id attribute' error. The CLI returns a 'Server Error' and 'general_unknown' response. The Appwrite version being used is 8.3.0. This issue may be due to a compatibility problem with the Appwrite version. Upgrading or checking for any relevant updates might resolve the problem.
Guille
22 Sep, 2025, 11:44

Hey, did you upgrade recently?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more