# Getting error while message search

**URL:** <https://community.sendbird.com/t/getting-error-while-message-search/5646>\
**Category:** React\
**Tags:** javascript, uikit, question\
**Created:** [September 23, 2022, 8:12am UTC](https://community.sendbird.com/t/getting-error-while-message-search/5646 "2022-09-23T08:12:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharma\_P\_V\_B\_G](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/sharma_p_v_b_g/32/3114_2.png) [@Sharma\_P\_V\_B\_G](https://community.sendbird.com/u/Sharma_P_V_B_G)\
**Post date:** [September 23, 2022, 8:12am UTC](https://community.sendbird.com/t/getting-error-while-message-search/5646/1 "2022-09-23T08:12:30Z")

</div>

Im using UI kit 2.7.1  
there im trying to use message search in group channels  
i followed [doc](https://sendbird.com/docs/chat/v4/javascript/message/searching-messages-in-a-group-channel/search-messages-by-a-keyword)  
and i’ve turned on message search feature in dashboard  
when i try to hit this  
https://SENDBIRD\_API\_TOKEN.sendbird.com/v3/search/messages?custom\_type=custom\_type&query=KEYWORDlimit=99&reverse=false&exact\_match=false&channel\_url=CHANNEL\_URL&sort\_field=score&advanced\_query=false  
im getting response as below

```auto
{"error":true,"message":"\"GET Search Message\" failed.","code":500901}

```

if I remove channel\_url and custom type im getting response as  
`{"next":"","start_cursor":"","end_cursor":"","has_next":false,"has_prev":false,"total_count":0,"results":[]}`  
Although i have the search keyword in channels.

can any one please help here?
