Skip to content
Back

Failed function deployments

  • 0
  • Self Hosted
  • Functions
balachandarkm
4 Jan, 2026, 21:48

I am using appwrite 1.8.0 (self hosted) and trying to manually deploy a python function. I am using appwrite from 0.x and went through multiple migrations. So I am not sure if I m missing some env variables necessary. When I deploy the function I get this error message and I have no clue what $id is referred here.

TypeScript
Must define $id attribute

Can someone point me in the right direction to debug please?

TL;DR
Ensure you have defined your function's ID in the env correctly. The error message 'Must define $id attribute' indicates that the ID is missing. Check your configuration and environment variables to include the necessary ID for deployment.
balachandarkm
4 Jan, 2026, 21:48

Deployment log:

balachandarkm
4 Jan, 2026, 21:50
Devika
5 Jan, 2026, 14:16

Have you appropriately defined your function's ID (which you might've got when you created this function) in the env?

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