Error : {"message":"Function with the requested ID could not be found.","code":404,"type":"function_not_found","version":"0.10.15"} Function ID is correct Executing log showing this "Environment variables are not set. Function cannot use Appwrite SDK."
You'll need to send the project either as a header
Or within the payload but name it just project
payload = {
"project": "6462fc2bb1482c6cbcbb",
"data": '{}'
}
thanks for your help now its working
[SOLVED] Executing a function with API
Recommended threads
- Function executions fail with cURL error...
Appwrite version: 1.8.0 Executor version: 0.11.4 Function runtime: Python 3.12 SELF-HOSTED Function executions that occur at the same moment as the executor's ...
- Broken Appwrite can’t make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in ...
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...