Does anyone know I am getting the following error?
FAULT (SYNC): FAULT = ‘3100’ [user is not exist] <backendless user is not exist> FAULT (SYNC): FAULT = ‘3100’ [user is not exist] <backendless user is not exist>
This is currently what my login method looks like:
-
(void)userLogin {
@try {[backendless.userService login:self.loginInput.text password:self.passwordInput.text]; NSLog(@"Current User = %@", backendless.userService.currentUser); [self.view endEditing:YES]; [self performSegueWithIdentifier:@"whichuser" sender:self];
}
@catch (Fault *fault) {
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:[NSString stringWithFormat:@"%@", fault.message] message:nil preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction *dismissButton = [UIAlertAction actionWithTitle:@“Dismiss” style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
}];
[alertController addAction:dismissButton];
[self presentViewController:alertController animated:YES completion:nil];}
}