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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...