Development discussions around Shopify APIs
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 | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
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.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023