
I click raw data and it shows me that but


When is this error occurring?

in the function somewhere

oh

could it be because

client = Client()
# You can remove services you don't use
account = Account(client)
avatars = Avatars(client)
database = Databases(client)
functions = Functions(client)
health = Health(client)
locale = Locale(client)
storage = Storage(client)
teams = Teams(client)
users = Users(client)

I left that in there in case I needed it but

that's probably causing it, yes?

well it shouldn't in theory cause I'm still authenticating with the API key but

it's occuring in execution, also I noticed the await
doesn't work

maybe because I used asyncx: true

Sorry I really can't follow what you're trying to do and what's wrong

I'm trying to call a Python function from my client

basically when the user presses a button it's supposed to call this function

The function returns data back

I don't understand where you're seeing this from

the Appwrite dashboard when the function executes it fails and shows that in the raw data

ayy my name is orange now

Can you show more detail about that?

the only details I have is the following, I clicked logs on the first one and it says the second image, then I click raw data and I get the picture above

all it says in logs/errors is "internal runtime error"

the relevant section of my appwrite.json

Your function is throwing an exception. Add a try/except to make sure it doesn't throw an exception

hm okay
Recommended threads
- custom requirements.txt file
How do I specify a custom requirements.txt file when creating a serverless function through the Appwrite console?
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
