random api error for one account when trying to fetch order list

Topic summary

A developer is encountering an “Internal Server Error” when attempting to fetch orders via the Shopify API for a specific account. The error occurs inconsistently—working for some date ranges but failing for others.

Request Details:

  • Endpoint: /admin/api/2023-07/orders.json
  • Method: GET
  • Store: vosece.myshopify.com
  • Parameters include date filters (updated_at_min/max), status filter (“any”), and a limit of 50

Current Status:
The issue remains unresolved with no responses or solutions provided yet. The intermittent nature of the error (date-dependent) suggests potential data-related issues or API rate limiting, though the exact cause is unclear.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

im trying to get orders through api but im getting Internal Server Error.
it works for some dates but not for all.

request:

{
  method: "GET",
  baseUrl: "https://vosece.myshopify.com/admin/api/2023-07",
  url: "/orders.json",
  params: {
    status: "any",
    updated_at_min: "2024-04-20T00:00:00",
    updated_at_max: "2024-04-20T23:59:59",
    limit: 50,
  },
}

response:

{
  errors: "Internal Server Error",
}

why does it