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
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...