Moderator
I click raw data and it shows me that but
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
I click raw data and it shows me that but
Moderator
When is this error occurring?
Moderator
in the function somewhere
Moderator
oh
Moderator
could it be because
Moderator
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)Moderator
I left that in there in case I needed it but
Moderator
that's probably causing it, yes?
Moderator
well it shouldn't in theory cause I'm still authenticating with the API key but
Moderator
it's occuring in execution, also I noticed the await doesn't work
Moderator
maybe because I used asyncx: true
Sorry I really can't follow what you're trying to do and what's wrong
Moderator
I'm trying to call a Python function from my client
Moderator
basically when the user presses a button it's supposed to call this function
Moderator
The function returns data back
I don't understand where you're seeing this from
Moderator
the Appwrite dashboard when the function executes it fails and shows that in the raw data
Moderator
ayy my name is orange now
Can you show more detail about that?
Moderator
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
Moderator
all it says in logs/errors is "internal runtime error"
Moderator
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
Moderator
hm okay