In the App.js file in the codesandbox example, if I remove line 71 “renderMessageInput” attribute from OpenChannel and let the UIKit render its input component then it works, so I’m guessing the APP ID and the Channel URL is correct.
By using a custom input React component and using the “getSendUserMessage” function it doesn’t work. The response from the SendBird API is “SendBirdException: “Channel” not found.” error code 400201.
Please, can you help me out if I’m doing something incorrectly or is this a bug in the SendBird API?
Hi @George, and welcome to the Sendbird Community!
I have your case that you opened with the support team and I wanted to reply here for visibility in the event someone else has the same question.
In your example you provided, you are using getSendUserMessage() which is a method for Group Channels. You should use getOpenChannelSendUserMessage() instead when using Open Channels.