Closed UdjinStolboviy closed 1 year ago
Hi @UdjinStolboviy
could you please provide more info what errors you face, e.g. some logs/errors exampels
If talking about "occupants_ids field must contain an opponent user id" error
it means when you create a private 1-1 chat https://developers.connectycube.com/js/messaging?id=create-1-1-chat
you need to pass another user id in occupants_ids
field
e.g. occupants_ids: [56],
const credentials = { userId: userChatId, password: this.PASSWORD }
console.warn('_____________Connect user to chat: ', credentials);
await ConnectyCube.chat.connect(credentials);
I pass on all valid data. Your server cannot find this data
{ type: DialogType.PRIVATE_CHAT, occupants_ids: opponentIds }
@UdjinStolboviy non-authorized means the password is wrong
do you use Custom Identity provider ? or just simple login+pwd flow ?
Closed as stale Please create a new issue if it's still actual
Hello. The following errors occurred. Please help with the solution. id 5750 Error description. We are creating a new User and trying to send a message. The first message is not sent to the ConnectyCube.chat.connect service and also does not work properly ConnectyCube.init
There are problems with ConnectyCube.pushnotifications
before that everything worked properly, this error appeared 5 -7 days ago.
the code base of our messenger was not changed. Please tell me what could be the problem?