GraphQL products list API error response : INTERNAL_SERVER_ERROR (Internal error. Looks like something went wrong on our end.)

We are encountering an INTERNAL_SERVER_ERROR while fetching products via the Shopify GraphQL API for one of our merchants. The error consistently occurs after retrieving 3750 products, preventing us from completing the full dataset fetch.

Error Details:

"errors": [
    {
        "message": "Internal error. Looks like something went wrong on our end.
Request ID: 3da3baad-fc04-4ece-b6e1-43af7ad1ccd3-1739788626 (include this in support requests).",
        "extensions": {
            "code": "INTERNAL_SERVER_ERROR",
            "requestId": "3da3baad-fc04-4ece-b6e1-43af7ad1ccd3-1739788626"
        }
    }
]

Observations:

  • The error occurs every time after fetching exactly 3750 products.
  • The issue seems server-side, as indicated by the INTERNAL_SERVER_ERROR response.

Additionally, if there are any recommended workarounds or best practices to fetch large product datasets without hitting this error, please advise.

Thanks in advance for your support! :pray:

Hellos,
If you are getting a lot of products you should consider using a bulk query Perform bulk operations with the GraphQL Admin API

Hello @JordanFinners

Thank you for your suggestion!

We have considered using bulk query, but it is not a suitable solution for our use case. Our current implementation includes a real-time progress bar to show the live status of the product sync process. Switching to bulk operations would require a complete overhaul of our existing sync flow, which is not feasible currently.