# Messages are duplicated

**URL:** <https://community.sendbird.com/t/messages-are-duplicated/5524>\
**Category:** JavaScript\
**Tags:** react-js\
**Created:** [September 6, 2022, 10:32am UTC](https://community.sendbird.com/t/messages-are-duplicated/5524 "2022-09-06T10:32:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/deepak_gupta/32/2968_2.png) [@Deepak\_Gupta](https://community.sendbird.com/u/Deepak_Gupta)\
**Post date:** [September 6, 2022, 10:32am UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/1 "2022-09-06T10:32:06Z")

</div>

I am using react sample app provided [GitHub - sendbird/sendbird-chat-sample-react: SendBird Chat SDK sample for React.](https://github.com/sendbird/sendbird-chat-sample-react). The message received is duplicated, the message from one channel is coming to other channels also.  
Opened an issue but no one responded [multiple message in chat group · Issue #115 · sendbird/sendbird-chat-sample-react · GitHub](https://github.com/sendbird/sendbird-chat-sample-react/issues/115)

Thanks

---

<div class="post-metadata">

**Author:** ![Deepak\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/deepak_gupta/32/2968_2.png) [@Deepak\_Gupta](https://community.sendbird.com/u/Deepak_Gupta)\
**Post date:** [September 15, 2022, 7:30pm UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/2 "2022-09-15T19:30:42Z")

</div>

any help available ?

---

<div class="post-metadata">

**Author:** ![nleitman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nleitman/32/51_2.png) [@nleitman](https://community.sendbird.com/u/nleitman)\
**Post date:** [September 22, 2022, 2:55pm UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/3 "2022-09-22T14:55:11Z")

</div>

Hi @Deepak_Gupta, there are many examples in this sample repository, which specific one are you running?

What are the steps to reproduce this problem?

---

<div class="post-metadata">

**Author:** ![Jacob](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jacob](https://community.sendbird.com/u/Jacob)\
**Post date:** [September 22, 2022, 4:14pm UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/4 "2022-09-22T16:14:11Z")

</div>

Hey @Deepak_Gupta, I had this issue as well and reached out to Sendbird via email. This was an issue with the SDK for a short while. Try updating to 4.0.10 or 4.0.11 and that should fix your issue.

---

<div class="post-metadata">

**Author:** ![Deepak\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/deepak_gupta/32/2968_2.png) [@Deepak\_Gupta](https://community.sendbird.com/u/Deepak_Gupta)\
**Post date:** [September 22, 2022, 6:09pm UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/5 "2022-09-22T18:09:34Z")

</div>

Hi @Jacob nleitman , I am using 4.0.11 (“@sendbird/chat”: “^4.0.11”) and i am still getting duplicate messages.

I am using BasicGroupChannelSample provide in the samples

> **[GitHub - sendbird/sendbird-chat-sample-react: SendBird Chat SDK sample for...](https://github.com/sendbird/sendbird-chat-sample-react)**
>
> SendBird Chat SDK sample for React. Contribute to sendbird/sendbird-chat-sample-react development by creating an account on GitHub.

The messages are duplicated and also appearing in the current highlighted channel even if that message is sent to another channel.  
Here is in the screenshot the message was supposed to be received in channel 1 but since the user has highlighted channel 2 it appears here and is also duplicated.

 ![Screenshot from 2022-09-22 23-33-31](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/1/120657657767faadf66f2934d152911e1418f660.png)

---

<div class="post-metadata">

**Author:** ![Deepak\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/deepak_gupta/32/2968_2.png) [@Deepak\_Gupta](https://community.sendbird.com/u/Deepak_Gupta)\
**Post date:** [September 26, 2022, 5:52am UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/6 "2022-09-26T05:52:58Z")

</div>

@nleitman any fix for the above issue?

---

<div class="post-metadata">

**Author:** ![nleitman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nleitman/32/51_2.png) [@nleitman](https://community.sendbird.com/u/nleitman)\
**Post date:** [September 26, 2022, 2:50pm UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/7 "2022-09-26T14:50:11Z")

</div>

@Deepak_Gupta I can’t reproduce the issue. Maybe reinstall the sample in a clean directory.

---

<div class="post-metadata">

**Author:** ![nleitman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nleitman/32/51_2.png) [@nleitman](https://community.sendbird.com/u/nleitman)\
**Post date:** [September 29, 2022, 1:20pm UTC](https://community.sendbird.com/t/messages-are-duplicated/5524/8 "2022-09-29T13:20:55Z")

</div>

@Deepak_Gupta [multiple message in chat group · Issue #115 · sendbird/sendbird-chat-sample-react · GitHub](https://github.com/sendbird/sendbird-chat-sample-react/issues/115#issuecomment-1262169311)
