API errors --- 502 Bad gateway

The API seems to have become unreliable in the last day or so. I’m seeing a lot of 502 errors.

Hello there, @jasondeb17! We are happy to help, but first we’ll need you to provide us with the following information so that we can further assist you with the concern:

  • Can you share with us the endpoints that return this 502 Bad Gateway error?
  • Were you able to get a 200 OK response before encountering the 502 Bad Gateway error?
  • Can you give a specific date wherein you have experienced this error and can you confirm if it is still being encountered as of this moment?
  • Please provide a screenshot of the error code you are experiencing.
  • If you have any more information or screenshot that can demonstrate your concern, feel free to share it with us. Please ensure to send any images or screenshots as attachments, as we’re unable to see images/screenshots when they are inserted in the body of your email and be reminded to omit any personal info.

Once you send us the information requested above, we will work quickly to address your concern. Thank you and have a nice day!


This happened zero (0) times before 2023/03/27.


500s recorded this week (times in UTC):

20230327 211058
20230328 005853
20230328 024304
20230328 120658
20230328 121653
20230328 135147
20230328 204626
20230329 072518
20230329 114717
20230329 124616

It seems to be failing randomly – perhaps you have one bad node?

This is the raw failure response in all cases.

<head><title>502 Bad Gateway</title></head>
<center><h1>502 Bad Gateway</h1></center>

Hello @jasondeb17 ! Thank you for the additional information that you have provided for us to further investigate this. For the details regarding your concern, we will check on this for you with our team. We will get back to you once we have more information. Keep in touch!

Yeah, getting this a lot this morning on the candles endpoint. Nothing but 502 errors this morning.

It appears to now be fixed. I haven’t seen a 502 in a few minutes.

1 Like

Hi @Jerry ! We appreciate your time in bringing this up to our attention. And based on this Incident Report, we can confirm that yes, the intermittent issue observed on Advanced Trade has now been resolved.

Tagging @jasondeb17 and @jmicko here. Thank you all for your patience as we work on this. Have a great day!


Sure but it was actually @jasondeb17 who reported the issue.
Thank you @jasondeb17 for taking the time and reporting this issue and confirming I wasn’t going nuts, wondering how I broke my code. :slight_smile: