Error Message: Invalid events param: Value must a valid array and Triggering a function on a function event is not allowed.
My payload is
{"name":"test","events":["functions.*.executions.*"],"url":"http://test:3000/webhooks/functions","security":false}
How do you run it? Can you walk us through the steps you've taken?
I just used the admin console to create a webhook
Ohh got it Because it can be abusive Appwrite added protection from running function after a function, but it seems like it should be effective only for functions and not WebHooks
Couldn't find any issue on it, it might be worth to open one.
Can't create/update function to trigger on execution on 1.4.2
Can't create/update webhook with trigger on function execution on 1.4.2
this is also helpful on self-hosted to protect you from destroying your self hosted instance. However, it definitely should be for functions only and not on webhooks. It would be good to create an issue for this
👍 I'll create one
Recommended threads
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Can Sites deployments be limited to the ...
Hey all! I’m using Appwrite Cloud Sites with GitHub connected. Right now, Appwrite seems to build for every push and PR, not just for my production branch (main...