
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
- I need help with web hook set up for doc...
I have been getting the error below in my web hook log. URL: https://webhooks-emmanuel-samuel-agbedejobis-projects.vercel.app/api/kyc-webhook Method: POST St...
- Cannot connect to Github after migration...
I have migrated from 1.6.1 to 1.7.4. First moving to 1.6.2, then to 1.7.0 and after that to 1.7.4. I tried to deploy a new site but the connection to github wa...
- Webhooks not working?
I have this webhook in appwrite but unfortunately this webhook isn't being triggered whenever I change something in the database. I've put the right databaseID ...
