502 Bad Gateway

Highlighted
New Member
3 0 0
I am updating the products in custom collections and periodically I get this error. I am using nuget package ShopifySharp to make calls to the Shopify API. If I attempt to add more then 800 products, I tend to get this error but it doesn't seem to happen every time. Any idea what is causing this issue?

"Error: (502 Bad Gateway) Shopify returned 502 Bad Gateway, but there was no JSON to parse into an error message"

0 Likes
Highlighted
Shopify Staff
Shopify Staff
181 22 29

Hey @nsmith0333 

Are you seeing a request ID returned when you get your 502? It might be worthwhile to bake in a retry on 502 errors to prevent this from happening in the future. 

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

0 Likes