
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
- Can't Login to Cloud Account
Dear <@870607367597850624> I used one of my Email account (hassanmrwt@gmail.com) for Cloud but that is not in my access now. System is prompting me to verify E...
- Function scheduling is not functional on...
Hello everyone! I'm using Appwrite Cloud and I have a function that runs every day at 00:00 UTC. Preciously it worked fine, but it didn't fire last night and i...
- Deleted an column but can't reuse name
I deleted a relationship column because I was having trouble with deleting a row and I was suspicious of the relationship. After deleting the column the row was...
