DEV Community

NirmalSankalana
NirmalSankalana

Posted on

Shopify GraphQL API Pagination Stuck in Infinite Loop with Same `endCursor`

I am working with Shopify's GraphQL API to paginate through all orders using a cursor-based pagination approach.

The query successfully fetches orders in batches, and I can see the correct endCursor being returned and logged. However, my pagination is stuck in an infinite loop where it keeps fetching the same…

Top comments (0)