
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
- 500 Error on Console when Using Custom D...
Hey 👋 I’ve set up a custom domain for my Appwrite Cloud project (<my-custom-domain>). DNS is configured and the organization view loads fine when I open the c...
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
