QuickBlox Chat was working fine from last 6 months but now from last 4 to 5 days I am getting this error com.quickblox.core.exception.QBResponseException: Occupants with these IDs do not exist. while creating a private chat dialog. Occupant id is the id of owner of chat portal from which i am trying to create a Private chat. I don't know why it is happening now the same code which was working now stops working. Anyone can tell me why this issue starts coming now.
Code to Create a private chat dialog :
privateChatManager = QBChatService.getInstance().getPrivateChatManager();
privateChatManager.createDialog(7094465, new QBEntityCallback<QBDialog>() {
@Override
public void onSuccess(QBDialog dialog, Bundle args) {
Log.d(TAG, "onSuccess: ");
}
@Override
public void onError(QBResponseException errors) {
Log.d(TAG, "onError: ");
}
});