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
- Login via GitHub Student Developer Pack ...
- Api Key No Scopes Webhook
why scopes in self hosted missing but in cloud is available?
- 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. ...