An internal curl error has occurred within the executor! Error Msg: Operation timed out
- 1
- Functions
I get this error while executing the function with python as a runtime, the function just calls a Rest API, the function always ends up with status code 500
Check if your have properly deployed the function or not
Yes I did, the deployment and build was successful
Are you using cloud appwrite?
Put your code inside try exception try to return the error
If the appwrite is self-hosted, you can see the container logs. The default is project-name-id-deploy
Docker logs name-project-83839odidejo
Can you share some code?
This is my code and in previous function I've used try catch, but the same error...
Even the simple code doesn't work like printing..
Can I invite you to debug the function please..?
Are you on cloud or self-hosted?
What version of Appwrite are you using?
If you're below 1.4, you need to follow the syntax like so
It is self hosted and v1.4.x
Have a look at this: https://appwrite.io/docs/functions-develop#lifecycle
It shows runtime error
Every AppWrite function must end with response.json or response.send return
did you use the syntax i shared?
Recommended threads
- How does sending email from the Appwrite...
I noticed that the pricing page mentions “Messages – 1000 per month” for the Free plan. Is this different from sending emails? When I try to send an email usin...
- Appwrite functions dart runtime (3.7 sup...
It seems that currently Appwrite functions only support Dart runtime to 3.5, for my code I need dart 3.7. Is there any plan to support Dart3.7 runtime soon. Is ...
- Update string attribute
Hi, Unsure if we’re able to use newKey when updating string attribute over node.js server api call to change an attribute name instead of having to create a ne...