
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
- Issue with Appwrite Function Execution –...
Hi all, I'm encountering an issue when calling an Appwrite function from my Flutter app. **Environment:** ```Flutter SDK: 3.27.3 Appwrite Flutter SDK: 16.1.0```...
- Storage server error
Hi! When I try to upload a video to Appwrite Storage, it gives me this error (it works with images but not with videos): ```[AppwriteException: Server Error]``...
- Golang docs outdated
Golang docs on the website are update and some if not all methods are broken/ not updated
