Identical response received from next page request. No more page requests will be made.

Hello,

We are trying to get order data from Shopify using the following query but whenever we try to use pagination, we are getting this error: “Error: Identical response received from next page request. No more page requests will be made.”.



query OrdersInDateRange {
  orders(
    first: 50
    query: "created_at:>=2024-12-01 AND created_at:<=2024-12-31"
  ) {
    nodes {
      name
      id
      updatedAt
      createdAt
      exchangeV2s(first: 20) {
        nodes {
          createdAt
          id
          additions {
            lineItems {
              title
              name
              sku
              quantity
            }
          }
          returns {
            lineItems {
              name
              title
              sku
              quantity
              isGiftCard
            }
          }
          refunds {
            id
            note
            createdAt
            refundLineItems(first: 20) {
              nodes {
                quantity
                lineItem {
                  sku
                  quantity
                }
              }
            }
          }
        }
      }
      fulfillments(first: 30) {
        id
        createdAt
        name
        fulfillmentLineItems(first: 30) {
          nodes {
            lineItem {
              sku
              quantity
              title
              name
            }
            quantity
          }
        }
      }
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}

Any help here really appreciate.

0

Comments

2 comments
Date Votes
  • We resolved this by just adding the following condition code line 

     

    
    
    orders(first: 50, query: "updated_at:>=2024-12-20 AND return_status:returned"{{#if export.http.paging.token}}, after: "{{export.http.paging.token}}"{{/if}})
    
    {{#if export.http.paging.token}}, after: "{{export.http.paging.token}}"{{/if}}
    1
  • We are receiving the same error. This just started recently in https Export.

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post