Hi,
We have a number of scripts that process API pulls from various endpoints (Tasks, Jobs/Projects, etc) overnight (between the hours of 12AM - 6AM PST). While these scripts usually complete successfully, we have been receiving a truncated server response with a 502 Bad Gateway error from our API deployment address.
Here is a sample of the query that has occasionally failed:
The failed request is usually related to our pull of data from the job endpoint, specifically when we query extensions (for custom fields) for each job (we loop through all of the jobs we pulled previously and then pull extension data for each job).
We would appreciate your insight on how to resolve these 502 gateway errors (or optimize our use of the API to prevent them).
Thanks!
Sam