- sendbird-uikit v2.7.0
- react v17.0.0
- react-dom v17.0.0
I have an issue sending a message in the chat to an open channel by using a custom input React component.
My example is here: (2-5) Customizing MessageInput (forked) - CodeSandbox
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?