While registering user to quickblox its giving the error "Error reasons:(null)"
Edit :- More to add also getting same error when creating dialog.
So it is difficult to debug what exactly is the issue. Is there something which i could be missing at my end?
I think you didn't set credential properly for registration of user. Check all the parameters you have set correctly or not. If you are not able to understand kindly check example on below link,
You need to set your parameter in below method to create user.
QBUUser *user = [QBUUser user]; user.login = @"garry"; user.password = @"garry5santos"; [QBRequest signUp:user successBlock:^(QBResponse *response, QBUUser *user) { // Success, do something } errorBlock:^(QBResponse *response) { // error handling NSLog(@"error: %@", response.error); }];
and if you are using real time chat loging thnen set parameter in this method,
use real time features you have to be logged in to Chat:
QBUUser *currentUser = [QBUUser user]; currentUser.ID = 2569; // your current user's ID currentUser.password = @"garrySant88"; // your current user's password [[QBChat instance] connectWithUser:user completion:^(NSError * _Nullable error) { NSLog(@"Error: %@", error); }];
Note :- In quickblox documentation they provide all the information in detail and with example . so, please first try to understand examples provided by quickblox and it will be bit easy to understand for you.
Don't confuse with this,
User.login can not be email address but it will be your login username.
user.password is the email address or username password.