I was trying to create a dialog using quickblox react-native-sdk. In ANDROID it worked perfectly fine, but in IOS(simulator) it is showing Error: Request failed: client error (422)
QB.chat
.createDialog({
type: QB.chat.DIALOG_TYPE.CHAT,
occupantsIds: [127929951],
})
.then(function (dialog) {
console.log(dialog);
})
.catch(function (e) {
console.log(e);
});
Thanks in advance