# TypeError: Cannot add property activeApps, object is not extensible

**URL:** <https://devforum.zoom.us/t/typeerror-cannot-add-property-activeapps-object-is-not-extensible/80997>\
**Category:** Web\
**Created:** [January 5, 2023, 12:47pm UTC](https://devforum.zoom.us/t/typeerror-cannot-add-property-activeapps-object-is-not-extensible/80997 "2023-01-05T12:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aayush.jain](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@aayush.jain](https://devforum.zoom.us/u/aayush.jain)\
**Post date:** [January 5, 2023, 12:47pm UTC](https://devforum.zoom.us/t/typeerror-cannot-add-property-activeapps-object-is-not-extensible/80997/1 "2023-01-05T12:47:22Z")

</div>

**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**

```auto
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**

```auto
 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**

 ![Screenshot 2023-01-05 at 6.00.03 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/9/e920fe7056fd7a74cc60e2a2cadfe9f373fc4a0c.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 4, 2023, 10:47pm UTC](https://devforum.zoom.us/t/typeerror-cannot-add-property-activeapps-object-is-not-extensible/80997/2 "2023-02-04T22:47:56Z")

</div>

Closed on February 4, 2023, 10:47pm UTC

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