# 504 errors on orders api

**URL:** <https://community.shiphero.com/t/504-errors-on-orders-api/3629>\
**Category:** GraphQL API\
**Created:** [December 17, 2025, 3:15pm UTC](https://community.shiphero.com/t/504-errors-on-orders-api/3629 "2025-12-17T15:15:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliver](https://avatars.discourse-cdn.com/v4/letter/o/85f322/32.png) [@oliver](https://community.shiphero.com/u/oliver)\
**Post date:** [December 17, 2025, 3:15pm UTC](https://community.shiphero.com/t/504-errors-on-orders-api/3629/1 "2025-12-17T15:15:55Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Nathan-Rhodes](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Nathan-Rhodes](https://community.shiphero.com/u/Nathan-Rhodes)\
**Post date:** [December 17, 2025, 8:44pm UTC](https://community.shiphero.com/t/504-errors-on-orders-api/3629/2 "2025-12-17T20:44:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/2X/8/83f2a5ec5d7908b156cb6999baa4c753fadfa85d.svg) [@system](https://community.shiphero.com/u/system)\
**Post date:** [March 17, 2026, 8:44pm UTC](https://community.shiphero.com/t/504-errors-on-orders-api/3629/3 "2026-03-17T20:44:28Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
