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?
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
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:
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.