Hey! I created a function that should be triggered when a form is submitted. I named it submission-created.
When I test locally, with netlify dev, it works as expected. I’m testing with postman. However, after deploying it, I try sending requests to the endpoint and I don’t get any response. And in the function log in the ui, there is no event logged, is like the function is never been triggered.
Hey @guayom, IDK if I can help, but if I could see your script, I might be able to. I’m more than willing to try, and I’m sure others would like to see it as well (for the purposes of assisting you).
You’ll have to make a second copy of the function named something else to test directly in production. Those event-triggered functions are only executed by us upon the event happening and cannot be externally executed as you’re trying.