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>