502 Bad Gateway when retrieving a single product

Highlighted

Hey team,

 

I'm seeing more and more errors related to "502 - Bad Gateway" errors when pulling Products from the Shopify REST API.  We started seeing this when pulling lots of products at once, however today, we're seeing this error when pulling a single product from a store:

 

HTTP GET (82043.20ms) https://xxxxx.myshopify.com:443/admin/api/2020-04/products.json?_apiFeatures=include-presentment-prices&ids=5370927749&limit=1

 

Eventually it gives up after about 80 seconds. 

 

Was something changed recently, making the Products API unstable and what would be the recommended solution?

 

Thanks!
Bjorn

 

 

Bjorn Forsberg | FORSBERG+two | Award-winning Shopify Apps since 2011
0 Likes
Highlighted
Shopify Staff
Shopify Staff
582 70 127

Hey @Bjorn_Forsberg_,

 

Can you kindly provide the X-Request-ID value from the response headers of a failed call? I can use that to check our logs and hopefully find more information about the error.

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

0 Likes
Highlighted

Hey @_JB 

 

Thanks for the reply, and my apologies.. should have known to include that from the start :)

 

Here's the request ID from a call made today:

 

72658439-86ed-4dfd-8986-493c99878543

Note: The above request was made using PostMan as my app would kill the request due to the extremely long response time (80+ seconds), leaving me without headers from there. But the result is exactly the same.

 

Let me know if you need more info.

 

Thanks!
Bjorn

 

 

 

Bjorn Forsberg | FORSBERG+two | Award-winning Shopify Apps since 2011
0 Likes