
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
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- 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...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
