# Not able to get public group channel list

**URL:** <https://community.sendbird.com/t/not-able-to-get-public-group-channel-list/4240>\
**Category:** JavaScript\
**Created:** [March 23, 2022, 10:03am UTC](https://community.sendbird.com/t/not-able-to-get-public-group-channel-list/4240 "2022-03-23T10:03:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikasmehay](https://avatars.discourse-cdn.com/v4/letter/v/dfb087/32.png) [@vikasmehay](https://community.sendbird.com/u/vikasmehay)\
**Post date:** [March 23, 2022, 10:03am UTC](https://community.sendbird.com/t/not-able-to-get-public-group-channel-list/4240/1 "2022-03-23T10:03:10Z")

</div>

I am using sendbird@3.1.8 version, and trying to implement the chat SDK JS in my angular project.

I am able to connect user and get his details but when I am trying to fetch the groupChannel list and trying to connect or create a group channel getting error.

Attaching below a snap of the error.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/e/ea2781f4bf4f1da949771dca8c2bf5c3dd0b1c3b.png)

---

<div class="post-metadata">

**Author:** ![Chinmaya\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/chinmaya_gupta/32/1021_2.png) [@Chinmaya\_Gupta](https://community.sendbird.com/u/Chinmaya_Gupta)\
**Post date:** [March 23, 2022, 2:02pm UTC](https://community.sendbird.com/t/not-able-to-get-public-group-channel-list/4240/2 "2022-03-23T14:02:53Z")

</div>

Hello, @vikasmehay Welcome to the Sendbird community!

This looks like some dependency issues. I would like to know are you including Sendbird from NPM or YARN or including it from the index.html ?

You can just simply include Sendbird with modules: `import Sendbird from 'sendbird'`

Let me know if this helps.

---

<div class="post-metadata">

**Author:** ![vikasmehay](https://avatars.discourse-cdn.com/v4/letter/v/dfb087/32.png) [@vikasmehay](https://community.sendbird.com/u/vikasmehay)\
**Post date:** [March 24, 2022, 5:17am UTC](https://community.sendbird.com/t/not-able-to-get-public-group-channel-list/4240/4 "2022-03-24T05:17:01Z")

</div>

Hello @Chinmaya_Gupta , thanks for your prompt reply.

I have included Sendbird through npm and created a separate index.js file which I have included in project root index.html file.

But as you mentioned it might be a version issue let me try with different version and the way you mentioned.
