504 errors on orders api

For the past few days, 90+% of our requests for the orders query are timing out (over 5 min to complete). We are filtering by tags. Even getting a single order takes over 3 minutes. Occasionally we do get a response back before the timeout.

I checked the API status page but there is no mention of any issues. Is there something we can do on our end to get around this problem?

Hi Oliver,

By default the API will first filter by a date range, with the default being the last 365 days. If you’re order volume or historical order volume has significantly grown, that can affect the performance of the query, even when filtering by tags. I would recommend using either a date filter accompanying the tag filter, or something like the ready to ship filter to narrow your results.