Development discussions around Shopify APIs
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
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 | 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
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
User | RANK |
---|---|
12 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022