How to handle error 502 Bad Gateway

Update: I was able to resolve this by using the try/except sample code provided on the error codes page. Now successfully processing batches with 1000+ api calls.

5 Likes