# GroupChannel sendUserMessage - SendbirdError: Invalid parameters

**URL:** <https://community.sendbird.com/t/groupchannel-sendusermessage-sendbirderror-invalid-parameters/9052>\
**Category:** JavaScript\
**Tags:** group-channel, chatsdk\
**Created:** [February 13, 2024, 8:00am UTC](https://community.sendbird.com/t/groupchannel-sendusermessage-sendbirderror-invalid-parameters/9052 "2024-02-13T08:00:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gunw.dan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/gunw.dan/32/4947_2.png) [@gunw.dan](https://community.sendbird.com/u/gunw.dan)\
**Post date:** [February 13, 2024, 8:00am UTC](https://community.sendbird.com/t/groupchannel-sendusermessage-sendbirderror-invalid-parameters/9052/1 "2024-02-13T08:00:24Z")

</div>

**[Problem/Question]**

I’m trying to select a room in a group channel and send a chat, but I keep getting an error in sendUserMessage.

For example, I used the code below.

currentlyJoinedChannel  
.sendUserMessage({  
message,  
})  
.onSucceeded((message: string) =\> {  
…  
})  
.onFailed((error: any) =\> {  
…  
});

We see that the currentJoinedChannel has a value. Why doesn’t it?

Do I need any additional settings to send a chat?

* * *

// If problem, please fill out the below. If question, please delete.  
**[SDK Version]**  
@sendbird/chat : ^4.10.8

**[Current impact]**  
Unable to send group chats
