Liquid, JavaScript, themes, sales channels
Hi,
we experiencing some issues with the Admin API - we're using the API for the transfer of orders and products to our BI tool minubo. It all worked really good and without any problems since december last year.
We are already using pagination and since now more than two weeks we regularly get responses where the "link" to the following page is missing in the response - and definitely also when it is not the last page, mostly directly with the first page.
You can see this behavior in the screenshot - the number of products inserted should be greater than 11.000 and not a smaller multiply of 250 - it should be easily reproducible with a simple request for the first 250 products:
The last X-Request-ID: ebf8feee-5d3e-42a6-afc6-62c616e8006d
Appreciate the help.
Best, Paul
Hey @krepau
We can't provide authenticated support in the community forums, and there's no example of the request you're making, but I tested the /admin/api/2023-07/products.json?limit=250 endpoint on my test store and was unable to replicate any issues with missing header links from the REST Admin API following our guide on REST pagination.
The GraphQL Admin API offers a cursor based approach to pagination, so I would highly recommend looking at that as an alternative solution, but if you can share steps to replicate an issue with the REST API please make sure to let our technical support know.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | RANK |
---|---|
37 | |
29 | |
12 | |
12 | |
8 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023