Upload of file doesn't work in iOS and Android

I use this code to upload the image to backendless (this code always worked, but it seems that today it stopped to work):

[backendless.fileService upload:fileName content:dataOfImage response:^(BackendlessFile *uploadFile)

In fail block I get the error:

FAULT = '502' [HTTP 502] <bad gateway>

Hi Pavel.
Could you try again?

Thank you, now it works on iPhone (I just can’t test on Android right now, but I think that it will work there too)