I've encountered an issue while implementing REST Hooks for my service. When I attempt to create a Zap, even if my server returns a 500 error during the POST subscribe phase, the Zap still gets created successfully. I've received related inquiries from users about this unexpected behavior.
Upon further testing, I've confirmed that regardless of the error returned during the POST subscribe, the Zap creation proceeds without any hindrance.
I'd like to understand:
- How can I prevent a Zap from being created if there's an error during the POST subscribe?
- Is there a recommended approach or best practice from Zapier's side to handle such scenarios?