TypeError: Cannot add property activeApps, object is not extensible

Description
Getting error “TypeError: Cannot add property activeApps, object is not extensible” on calling client.init().
I am getting this error when calling client.init method again when internet connected back after disconnection.

Browser Console Error

TypeError: Cannot add property activeApps, object is not extensible
    at zoomus-websdk-embedded.umd.min.js:2:1983308
    at Array.forEach (<anonymous>)
    at _createClass.init (zoomus-websdk-embedded.umd.min.js:2:1983282)
    at v (ZoomMeetingComponent.tsx:120:13)
    at I (ZoomMeetingComponent.tsx:88:21)
    at ZoomMeetingComponent.tsx:59:5
    at rc (react-dom.production.min.js:244:332)
    at kl (react-dom.production.min.js:286:111)
    at cl (react-dom.production.min.js:273:185)

Which Web Meeting SDK version?
@zoomus/websdk: 2.8.0
Type: Component View

Meeting SDK Code Snippets

 const clientInit = (): typeof EmbeddedClient | undefined => {

    if(!containerRef.current) {
      return;
    }

    const _client: typeof EmbeddedClient = ZoomMtgEmbedded.createClient();

    _client.init({
      debug: false,
      zoomAppRoot: containerRef.current,
      language: 'en-US',
      customize: {
        meetingInfo: [],
        video: {
          isResizable: true
        }
      },
      
    })
    .catch((err: any) => {
      console.error("unable to init zoom client", err);
    })

    setClient(_client);
    return _client;
  }

  const clientJoin = (_client?: typeof EmbeddedClient) => {

    if(!_client) {
      console.error("client not found");
      return ;
    }

    console.info("joining client");
    _client.join({
    	sdkKey: zoomConnectionData.sdkKey,
    	signature: zoomConnectionData.signature,
    	meetingNumber: zoomConnectionData.meetingNumber,
    	password: zoomConnectionData.password,
    	userName: currentUser.name,
      userEmail: currentUser.email,
      success: handleClientJoined,
      error: handleErrorOnJoin
    })
    .then((res) => {
      handleClientJoined();
    })
    .catch((err) => {
      handleErrorOnJoin(err);
    })
  }

Screenshots

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.