Hellow,I try to add a user by Syncronous type but i obtain this exception:exception: "BackendlessException{ code: ‘Internal client exception’, message: ‘null’}"and one more thing … in the catch control the sentence:"BackendlessFault fault = exception.getFault();"is not correct because the getFault method is not supported.
The Syncronous type from the Backendless API manual:
BackendlessUser user = new BackendlessUser();
user.setPassword("12345678");
user.setEmail("joamarmir@gmail.com");
user.setProperty("name", "joamarmir");
user.setProperty("socialAccount", "ShareMyNeed");
try {
user = Backendless.UserService.register( user ); }
catch( BackendlessException exception ) {
int i = 0;
i++;
// an error has occurred, the error code can be retrieved with fault.getCode()
}
Thanks,