Get/Airports returning 502 Bad Gateway error

Hi, I need to fetch all the Airports data, so used “Get/Airports” endpoint recursively with next set of results from the cursor returned. After few calls I am getting 502 Bad Gateway Error as the response. Can you please check and let me know how to fetch all the aiports results.

Thank you