Failed. Response code = 502. Response message = Bad Gateway.

Highlighted
New Member
3 0 0

Hi everyone, I'm having yet another problem with the API, I'm getting this error ('Failed. Response code = 502. Response message = Bad Gateway.'), when bulk importing comments, but thing is this error doesn't show up always in the same comment when saving... Did anyone get this error with the comments?

Thank you all.

Cheers

0 Likes
Highlighted
Shopify Staff
Shopify Staff
154 0 35

This error is often caused when doing large POST or PUTS that take longer than 90 seconds. Try splitting up your commits into smaller chunks, to see if that solves your problem.

0 Likes
Highlighted
New Member
1 0 0

I keep Getting the bad gateway 502 how do i fix It 

0 Likes
Highlighted
Excursionist
15 2 1

We've also been experiencing multiple network related errors when calling the GET /admin/api/2020-07/orders.json endpoint.

The errors for us have occurred between 13:41:28 UTC and 13:49:41 UTC today (23 OCT). This seems to have been resolved since 13:51:43 UTC for us.

We've received a nice mix of network errors:

521 Origin Down - Between 13:41:28 - 13:41:46 UTC.

 

<html>
<head><title>521 Origin Down</title></head>
<body bgcolor="white">
<center><h1>521 Origin Down</h1></center>
<hr><center>cloudflare-nginx</center>
</body>
</html>

 

504 Gateway Time-out, once at 13:43:36 UTC. 

 

<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>

 

502 Bad Gateway - Between 13:43:40 - 13:49:41 UTC.  

 

<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>

 

 

0 Likes
Highlighted
Shopify Partner
654 46 130

Shouldn't incidents like these appear on the Shopify systems status page? https://www.shopifystatus.com/ Although if it's a smaller scale issue and not affecting most all customers perhaps it doesn't appear on there?

0 Likes