If you call i.e.
Fault* fault = nil;
id result = [backendless.fileService upload:filename content:data error:&fault]; on my iPhone I expect any potential errors to be returned in the “fault” variable. Instead the file service throws an exception which I must handle with a try/catch. This is really not the ios-way imo.
The error above I think is thrown because the file already exists (though it just says FAULT = ‘400’ [HTTP 400] <bad request>)
You get the same issue if calling:
[backendless.persistenceService save:task error:&fault];
and have forgotten to login and have set security to not allow Unauthorized users. Same here, I’d expect the fault returned in error and not a fault thrown…