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
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...