nozzlegear / ShopifySharp

ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
https://nozzlegear.com/shopify-development-handbook
MIT License
742 stars 308 forks source link

Why does the function ListAsync() of CollectionListingService return 404? #992

Open Zardw opened 7 months ago

Zardw commented 7 months ago

I try to get collection list of our shop, but it gets 404. ):

image

nozzlegear commented 7 months ago

Hey @Zardw, I'm not exactly sure why it'd return a 404 but my first guess would be the API version you're using is out of date. Shopify will leave an API version up for an undisclosed amount of time once they end support for them, and after that they'll complete remove the endpoints for that entire API branch. I think that would lead to the issue you're seeing. Do you know which version of ShopifySharp you're using?

Zardw commented 7 months ago

It's 6.3.3. but I also use ProductService and CollectionService, it works normally.

image

Zardw commented 7 months ago

@nozzlegear I try to use RestSharp to get data, but it still returns "Not Found", what is wrong? :(

image

adearriba commented 7 months ago

@Zardw do you have at least one collection listings published to your app?

Zardw commented 7 months ago

@nozzlegear yes, we have many published collections.