A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I am trying to send the page_info header link into my API call, however i get this error every time:
Raw response for the API Status code 400 {"errors":{"status":"status cannot be passed when page_info is present. See https:\/\/help.shopify.com\/api\/guides\/paginated-rest-results for more information.","fulfillment_status":"fulfillment_status cannot be passed when page_info is present. See https:\/\/help.shopify.com\/api\/guides\/paginated-rest-results for more information."}}
I am trying to call this link: https://[apikey]:[password]@[hostname].myshopify.com/admin/api/2021-10/orders.json?limit=250&status=any&fulfillment_status=any&page_info=[page_info]
I can get the link header when i call: https://[apikey]:[password]@[hostname].myshopify.com/admin/api/2021-10/orders.json?page_info=[page_info]
but i just get the error when i add: limit=250&status=any&fulfillment_status=any - i just get errors.
any ideas?
Hi @volkis
As mentioned in through the link provided, you aren't able to use additional fields while using page-info - only three fields are allowed: page_info, limit, and fields. You can read more about this here: https://shopify.dev/api/usage/pagination-rest#parameters
Regards,
To learn more visit the Shopify Help Center or the Community Blog.
When I use this link: https://[apikey]:[password]@[hostname].myshopify.com/admin/api/2021-10/orders.json?page_info=[page_i... i still cant get the link header response though, so I am unable to paginate. Nothing comes through. Surely this is an error
Hi @volkis
Could you please provide an x-request-id for a request that is not returning the page info field? I will take a look through our logs and see what I can find.
Thanks!
To learn more visit the Shopify Help Center or the Community Blog.