Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify GraphQL query not working properly with after property in variable

Shopify GraphQL query not working properly with after property in variable

JD_Old7
Visitor
1 0 0

I am trying to search products with cursor pagination. I got first 2 pages successfully but when I am trying to fetch the third page shopify sending null data in page info. 

 

Here are the 3 calls I am hitting using postman. 

 

First CallFirst CallSecond CallSecond CallThird callThird call

 

Here you can see in the second call I got page info as next page is available but when I passed after property value which I get from second call it not return any data. as per second call it should return data and I have checked that I have lots of products which I need to fetch. 

 

Any help is appreciated. Please let me know if require further clarification on the above issue.  

Replies 0 (0)