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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...