Error : Not found GroupChannelModule

[Problem/Question]
// Detailed description of issue.
I integrated Sendbird UIKit in my nextjs application.
When I create a groupchannel , it works fine on my local side (dev mode).
But it doesn’t work on the server side and I got this error : “Not found GroupChannelModule”.
I am not sure why it works on the local side but doesn’t work on the server side.
Could you guys please help me on this thing?

// If problem, please fill out the below. If question, please delete.
[UIKit Version]
@sendbird/uikit-react”: “^3.3.1”,
// What version of the SDK are you using?

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

 // Sendbird
import sendBirdSelectors from "@sendbird/uikit-react/sendbirdSelectors";
import useSendbirdStateContext from "@sendbird/uikit-react/useSendbirdStateContext";
  const store = useSendbirdStateContext();
  const createGroupChannel = sendBirdSelectors.getCreateGroupChannel(store);

// Group channel create
    const groupChannelParams = {};
    groupChannelParams.invitedUserIds = [
      store.config.userId,
      story.content["_uid"],
    ];
    groupChannelParams.name = story.content.tradingName;
    groupChannelParams.operatorUserIds = [
      store.config.userId,
      story.content["_uid"],
    ];

    try {
      const result = await createGroupChannel(groupChannelParams);
      console.log(result);
      setLoading(false);
      router.push("/messages");
    } catch (error) {
      console.error(error);
    }
  // sendbird

– Error

8152-d87ee6ba37fd2c0f.js:1 Uncaught (in promise) Error: Not found GroupChannelModule
    at 8152-d87ee6ba37fd2c0f.js:1:481295
    at new Promise (<anonymous>)
    at 8152-d87ee6ba37fd2c0f.js:1:481199
    at 9218-576680e408ce7db4.js:1:8411
    at s (main-ce5bf4f23d082349.js:1:82008)
    at Generator._invoke (main-ce5bf4f23d082349.js:1:81796)
    at S.forEach.e.<computed> [as next] (main-ce5bf4f23d082349.js:1:82431)
    at b (9218-576680e408ce7db4.js:1:7794)
    at l (9218-576680e408ce7db4.js:1:8618)
    at 9218-576680e408ce7db4.js:1:8677

[Frequency]
// How frequently is this issue occurring?
Every time I got this error . And I use SendbirdProvider .

1 Like