Sometimes when I try to refresh the activeUser I get an error that the user I am trying to refresh is not actually the active user. Here is the code I'm using:
Error Domain=KCSUserErrorDomain Code=60008 "User refresh is not on active user" UserInfo=0x113a06980 {NSLocalizedDescription=User refresh is not on active user}
And I have a valid KCSUser object, and you can see that I also did get valid objects back from the server in objectsOrNil. Shouldn't the error and objects returned be mutually exclusive?
tupakapoor
KCSUser *user = [KCSUser activeUser];
if (user) {
[user refreshFromServer:^(NSArray *objectsOrNil, NSError *errorOrNil) {}];
}
And the error:
Error Domain=KCSUserErrorDomain Code=60008 "User refresh is not on active user" UserInfo=0x113a06980 {NSLocalizedDescription=User refresh is not on active user}
And I have a valid KCSUser object, and you can see that I also did get valid objects back from the server in objectsOrNil. Shouldn't the error and objects returned be mutually exclusive?
