Hi David,
We’re working on updating our docs around event-triggered functions - to make it clearer that they are only accessible as called in response to an event. If you want to test it yourself, two options:
- make a copy of it and name it something different; then you can access it directly by URL
- deploy a copy of it on a branch, and test on that branch using real form submissions from that branch. That won’t affect whatever setup you have in production now.
Do make sure that your return returns JSON - we’ll throw other errors in case you are returning plain text (and those errors - I’m not sure if you can see them or not! I think so but it probably depends on how you’re returning them and whether your function logs before it meets an untimely end, in case it is crashing or timing out.)