# Sendbird createChannel 안에서 기능동작이 되지 않습니다

**URL:** <https://community.sendbird.com/t/sendbird-createchannel/2031>\
**Category:** JavaScript\
**Tags:** group-channel, js\
**Created:** [April 8, 2021, 2:53am UTC](https://community.sendbird.com/t/sendbird-createchannel/2031 "2021-04-08T02:53:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11110](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/11110/32/1122_2.png) [@11110](https://community.sendbird.com/u/11110)\
**Post date:** [April 8, 2021, 2:53am UTC](https://community.sendbird.com/t/sendbird-createchannel/2031/1 "2021-04-08T02:53:11Z")

</div>

```
sb.GroupChannel.createChannel(params, function (groupChannel, error) {
//alert("@@@@@@loading creaqted");
alert("@detected2");
  tempURL= groupChannel.channelUrl;
  document.getElementById('chatUrl').value = `${groupChannel.channelUrl}`;
  console.log('@documnet.id', document.getElementById('chatUrl').value )
  console.log('@@@@@@@2',tempURL);
});

```

해당 구문을 사용하여 그룹을 만들시에 정해진 파람 조건에 따라서 채팅방은 생성이되지만,  
안에 구문이 동작하지 않습니다… @detected2 부터 접근이 안되더라구요 …

사용목적은 채널이 생성되면 해당 url을 input에 넣어주려고 하는데, 어떠한 방식으로 접근해야 출력이 될까요 …?
