Error on uploding image

Hello, I get the error today on uploding photo on server, before it’s work great. in result no have any messages or description only error code = 502. I don’t know what’s wrong.

What SDK do you use to upload?

Hi Alex.
Currently it works fine?

Regards,
Kate.

Sometimes have this issue.
Last Android sdk.

Files.uploadFromStream method in else block of (connection.getResponseCode() != 200).
response = “<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor=“white”>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.8.1</center>
</body>
</html>”