Skip to main content

I am running into an issue with having multiple GET webhook calls in a single Zap. 

I am using a GET call to retrieve a list of items. The API limits the return to 100 items but I can make the call with an offset. What I wanted to do was make multiple calls in the same zap to get the entire list of items I need, its only about 350.

The problem I am experiencing is that the second webhook call in the Zap always returns a 502 error. I can run a single GET just fine but the second gets an error. I can even make a sub zap and run that multiple times without the 502 error.

Is there a problem with making multiple calls in the same zap? 

Hi @buckeytucker 

You can handle pagination for multiple GET requests in 1 Code step: https://zapier.com/apps/code/help


@Troy Tessalone I do not know how to make custom code for something like this. I am not a programer but know enough to do small things in Zap because it makes it fairly easy. Using a code block for something like this might be a way to do it but I also feel that there is something I am missing with using multiple GET calls or something wrong with how zap handles it. 


I ended up using the AI in zapier to make a custom code. I still think that the GET calls in the webhook has some kind of issues making the same call that returns the same data. 


@buckeytucker 

Using Code is an advanced approach.

You can try using ChatGPT to help create/comment/optimize/troubleshoot the code.

 

If you need help, consider hiring a Certified Zapier Expert: https://zapier.com/experts