Skip to main content

Losing my mind over this one!

I have an issue where a webhook that I’m firing will not return the correct data when running through the live Zap.

It is a weird webhook, where it will return a 200 if successful and a 500 if not successful. I keep hitting a 500 on a request that I know works, as it works in any other platform I try and even works if I am testing the Zap!

Here is my zap failure (with some redacted info):

 

Request from the live zap

 

Here is the exact same request made in the test zap with a successful response:

 

Request in test zap

 

Data out when running a test

 

The only difference between the test and the live zap is that the live zap is referencing the email and learningpath_id values from a previous step, whereas I input the values directly in the live zap. I have also tried changing the URL to see what is being sent and the data request looks fine, so I’m completely stumped as to why I’m not getting the expected response.

I guess I am looking to see if anyone else has experienced this inconsistency and have any idea what it could be?

Hi ​@ajaeb 

The live Zap Run error may not be due to the API request itself, rather that there were no results found, thus the API is returning an error code in that case, rather than a success code with no results.

An alternative would be to use a Zap Code step to make the API request and handle the API response.
https://zapier.com/apps/code/integrations#help

 

For us to have more info, post screenshots showing how your Zap step is configured in the CONFIGURE tab while in EDIT mode.

Also, link to the app API endpoint documentation you used to configure the API request in the Zap step.