Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hi @Kian_S
Those error messages are coming from your application rather than from Shopify, so it's difficult to know for sure, but I believe this may be a result of "page" based pagination no longer being supported by the Shopify API. We have moved to cursor-based pagination, which a much more efficient way of retrieving large sets of data via the API. Basically, instead of making an API call ending in page=3 you'll need to change your app to use the newer page_info field.
So it would look something like this:
https://shop-domain.myshopify.com/admin/api/2019-07/products.json?limit=50&page_info=eyJkaXJlY3Rpb24iOiJwcmV2IiwibGFzdF9pZCI6MTk4NTgyMTYzNCwibGFzdF92YWx1ZSI6IkFjcm9saXRoaWMgQWx1bWludW0gUGVuY2lsIn0%3DD |
Here are some resources regarding how to implement this change:
https://www.shopify.ca/partners/blog/relative-pagination
https://shopify.dev/api/usage/pagination-rest
You may also want to read about our API versioning: https://shopify.dev/api/usage/versioning as well as how to follow along for any changes coming in future, via our Changelog: https://shopify.dev/changelog
To learn more visit the Shopify Help Center or the Community Blog.
Hey Csam,
thank you for your reply. I will have a look over it and recheck that with our programmer.
I will give you a feedback afterwards.
So for the moment thank you and have a good day.
Kian