i am trying to set a specific user ACL for an object with the below code:
KiiUser *masterUser = [KiiUser userWithID:@"ba28b2d34b60-8e0a-7e11-8e30-010a9a49"];
KiiACL *acl = [progressiveInfoKII objectACL];
KiiACLEntry *entry = [KiiACLEntry entryWithSubject:masterUser andAction:KiiACLObjectActionRead];
[acl putACLEntry:entry];
NSError *error;
NSArray *succeeded, *failed;
[acl saveSynchronous:&succeeded didFail:&failed error:&error];
Eveytime i run the code i get a error code 514 "At least one of the ACL entries saved to an object failed. Please note there may also have been one or more successful entries" .
I can't work out what i am doing wrong.