Skip to main content

I would like to know how can I add error handling on the first step of my Zap, I’ve created a Zapier integration on developer.zapier but I would like to add error handling now.

Hey @jorge_mt9 👋

Custom error handling can be included when working in the CLI, or in Code Mode in the Visual Builder. More on error handling options here: https://github.com/zapier/zapier-platform/blob/master/packages/cli/README.md#error-handling 

If you prefer to work in the Visual Builder, you can use the skipThrowForStatus toggle under Advanced: https://cdn.zappy.app/dccef9294f64acc998fa3a6634f66390.png to allow you to add those error handling options in Code Mode for your triggers/actions; and return custom error messages for 400 and above responses.

Hope this points you in the right direction for next steps, let the Community know how you get on!

Hi Marina

 

I think I formulated my question wrong, my question would be if there is a way to get the status of the whole zap (trigger and action), in my zapier integration.

 

Thanks!


Hey @jorge_mt9 👋

Custom error handling can be included when working in the CLI, or in Code Mode in the Visual Builder. More on error handling options here: https://github.com/zapier/zapier-platform/blob/master/packages/cli/README.md#error-handling 

If you prefer to work in the Visual Builder, you can use the skipThrowForStatus toggle under Advanced: https://cdn.zappy.app/dccef9294f64acc998fa3a6634f66390.png to allow you to add those error handling options in Code Mode for your triggers/actions; and return custom error messages for 400 and above responses.

Hope this points you in the right direction for next steps, let the Community know how you get on!