
Cloud function is failing. May i know what is this error when function is being deployed. Thanks

Your function may not be formatted right. How did you make it? What is the code?

import json from appwrite.client import Client from appwrite.services.databases import Databases from appwrite.id import ID import os
def main(context): client = Client() (client .set_endpoint('https://cloud.appwrite.io/v1') .set_project(os.environ['PROJECT_ID']) .set_key(os.environ['API_KEY']) ) print("hello")

like this sir
Recommended threads
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
- Error Generation of certification for cu...
Hi, I tried to connect a custom domain, this worked but creating the certification afterwards fails with the following error: ```txt Failed to create TLS subsc...
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
