Can't Create Open Channel

I tried to create an open channel but got the error “SendbirdError: Cannot send invalid command.” and I have followed according to what is in this doc “


can anyone help me? Thanks

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

[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.

// How frequently is this issue occurring?

[Current impact]
// How is this currently impacting your implementation?

Hello @Thomas_Hartono,

Welcome to the Sendbird Community.

Can you share what your init function looks like? I tried this on the same version of the SDK, and was able to successfully create an open channel without any issue so I’d like to rule out anything simple.

Hi @Tyler ,

Sory for late response. The problem already solved. I included the wrong js file (sendbird.min.js). if i include
import SendbirdChat from ‘./node_modules/@sendbird/chat/index.js’

i can create channel.