When using Cometchat.sendMessage to a group, it is giving **INVALID_GUID** error
Closed this issue · 2 comments
Describe the problem
When using Cometchat.sendMessage to a group, it is giving INVALID_GUID error, even though the message is sent successfully and do not affect any other thing
What was the expected behavior?
No errors on console
Reproduction
Detail the steps taken to reproduce this error, and whether this issue can be reproduced consistently or if it is intermittent.
Note: If clear, reproducable steps or the smallest sample app demonstrating misbehavior cannot be provided, we may not be able to follow up on this bug report.
- Create a group with the following guid pattern anystring-randomnumbers
- Send a message with this code
messageCopyInGroup.setReceiverId(this.broadcastChannel.getGuid());
messageCopyInGroup.setReceiverType('group');
try {
await CometChat.sendMessage(messageCopyInGroup);
} catch {
console.log('erro');
}
this.loading = false;
this.shouldUpdateConversations.emit(messageCopyInGroup);
Environment
Please provide the following:
- Version used: "@cometchat/chat-sdk-javascript": "^4.0.7"
Afroz Khan (CometChat Team) replied:
Hi,
We need some additional information to investigate this issue further. Could you please create a ticket through our support portal here?
Once we have it we will update you.
Afroz Khan
CometChat
Afroz Khan (CometChat Team) replied:
Hi,
Please refer to the below support portal link in case it's not clickable in the previous message.
https://help.cometchat.com/hc/en-us/requests/new
Afroz Khan
CometChat