A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
As you can see, there is a limit URI parameter set to 1 and the response is an empty array.
But when I used limit together with another URI parameter (for example with ids), it is working fine:
Could you please explain to me why is this so? Or is this a bug?
Hey @pmd85 - Would you be able to share an x-request-id header value returned with the API response that you feel is unexpected? Also, can you confirm if this happens across API Versions (eg, 2022-01), if there are any cookies in your API Client, and if this is happening on multiple stores?
I wasn't able to replicate this on my test environments/apps, or when making a request from an API client, but I would be happy to take a closer look and provide any insights.
- Cheers.
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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
Hey Awwdam,
It works again after a few days. I don't know where the problem was but it's working now. This problem has only this shop/app because I was unable to reproduce this issue on another shop/app.
Thanks