Fault 1011 User has no permission to create entity iOS

Does anyone have any idea why I am continuing to receive the Fault == 1011 error? I had user registration working before and now I am not sure what the problem is:

  • (void)viewDidLoad {

    [super viewDidLoad];

}

  • (void)didReceiveMemoryWarning {

    [super didReceiveMemoryWarning];

    // Dispose of any resources that can be recreated.

}

  • (IBAction)onTappedDoneRegisteringButton:(id)sender {

    [self userRegistration];

    [self performSegueWithIdentifier:@“success” sender:self];

}

-(void)userRegistration {

@try {

    BackendlessUser *user =  [BackendlessUser new];

    user.name = self.nameInput.text;

    user.email = self.emailInput.text;

    user.password = self.passwordInput.text;

    BackendlessUser *registeredUser = [backendless.userService registering:user];

    NSLog(@"User has been registered (SYNC): %@", registeredUser);

    [backendless.userService login:self.emailInput.text password:self.passwordInput.text];

    NSLog(@"Current User = %@", backendless.userService.currentUser);



}

@catch (Fault *fault) {

NSLog(@"Server reported an error(SYNC): %@", fault);

UIAlertController *alertController = [UIAlertController alertControllerWithTitle:[NSString stringWithFormat:@"User was unable to register"] 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];




}

}

Did you modify any of the global permissions or the permissions for the User table?

I did not (see attached). Any other reason this might be happening?

Please attach a screenshot of the Roles permissions for the Users table. You can get it by:

    Click the Data icon Make sure the Users table is selected Click the "Table Schema and Permissions" button Click the "Roles permissions" menu item
Take a screenshot and post it here.

Mark

See attached. Still getting the following output:

96

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:“Table Normal”;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:“”;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:Calibri;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}

Server reported an error(SYNC): FAULT =
‘1011’ [User has no permission to create entity]

See the line for the NotAuthenticatedUser - it does not allow any operations. This explains why you’re getting an error.

Ah thank you so much! I didn’t recall changing that…