Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Limit URI parameter for customers not working

Limit URI parameter for customers not working

pmd85
Shopify Partner
23 0 2

As you can see, there is a limit URI parameter set to 1 and the response is an empty array.
Screenshot 2022-02-24 at 13.08.22.JPG
But when I used limit together with another URI parameter (for example with ids), it is working fine:
Screenshot 2022-02-24 at 13.11.03.JPG

Could you please explain to me why is this so? Or is this a bug?

 

Replies 2 (2)

awwdam
Shopify Staff
249 42 38

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

pmd85
Shopify Partner
23 0 2

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