Internal Server Error - Get request for products in a collection

Solved
Highlighted
Tourist
4 0 5

We are attempting to get product data from a certain collection, using the following call (note: store-name and collection ID is replaced with the actual store name and collection ID, and we have the right access token):

https://store-name.myshopify.com/admin/api/2020-04/collections/collectionId/products.json

 

When calling:

https://store-name.myshopify.com/admin/api/2020-04/collections/collectionId.json we receive a response, indicating the collection exists.

However, when calling to see the products in the collection we receive the error.

 

This only happens for a few collections, but works fine for all others.  We are unsure why this is sometimes happening and would love more insight - thank you!

 

3 Likes
Highlighted
Shopify Staff
Shopify Staff
493 98 88

This is an accepted solution.

Are you able to capture a request ID from the response headers? Please post it here and I can help look into the issue. 

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


1 Like
Highlighted
Tourist
4 0 5

Hi Vix! 

Thanks so much for you quick reply!  When we re-tried the call today it went through so I guess it must have been transient.  I'll reopen this if we come across another case - have a great day!

 

 

1 Like