# GetBreakoutRoomList error 3003 or js error

**URL:** <https://devforum.zoom.us/t/getbreakoutroomlist-error-3003-or-js-error/65439>\
**Category:** Web\
**Tags:** meeting-sdk, web-meeting-sdk\
**Created:** [March 8, 2022, 1:32pm UTC](https://devforum.zoom.us/t/getbreakoutroomlist-error-3003-or-js-error/65439 "2022-03-08T13:32:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joris.nicolas](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@joris.nicolas](https://devforum.zoom.us/u/joris.nicolas)\
**Post date:** [March 8, 2022, 1:32pm UTC](https://devforum.zoom.us/t/getbreakoutroomlist-error-3003-or-js-error/65439/1 "2022-03-08T13:32:40Z")

</div>

**Description**  
I have errors when using the getBreakoutRoomList function.  
When I try to get the breakoutroom list and all attendees, i’m getting en error 3003, I saw that this error was related to the fact that only the host can call this function but when i’m using getCurrentUser, isHost is true.  
Half of the time I have a js error with this function. (every time I want to use a timeout or an interval to delay the result)

**Browser Console Error**  
error when using timeout and the function : ERROR TypeError: Cannot add property attendees, object is not extensible  
error when using the function : error 3003

**Which Web Meeting SDK version?**  
2.1.1

**Meeting SDK Code Snippets**

```auto
        ZoomMtg.init({
            leaveUrl: environment.frontendUrl + this.redirectUrl,
            success: () => {
                ZoomMtg.join({
                    signature,
                    apiKey,
                    meetingNumber: this.meeting!.id,
                    userName: this.userService.user!.username,
                    userEmail: this.userService.user!.email,
                    passWord: this.meeting!.password,
                    tk: '',
                    // eslint-disable-next-line
                    success: () => {
                        console.log('joinmeeting success')
                    },
                    error: (error: any) => {
                        console.log(error);
                    },
                });
                setTimeout(() => {
                    // always fail: error 3003 or js error
                    // in this case js error cause of the timeout
                    ZoomMtg.getBreakoutRoomList({
                        success: (success: any) => {
                            console.log("getBreakoutRoomList", success)
                        },
                        error: (error: any) => {
                            console.log(error)
                        }
                    });
                    // success
                    ZoomMtg.getCurrentUser({
                        success: (success: any) => {
                            console.log('currentuser', success);
                        }
                    });
                    // success
                    ZoomMtg.getAttendeeslist({
                        success: (success: any) => {
                            console.log('currentAttendees', success);
                        }
                    });
                }, 10000)
            },
            error: (error: any) => {
                console.log(error);
            },
        });

```

**Device (please complete the following information):**

- Browser: Chrome

**Additional context**  
The function is always called inside the success callback of the init function. I tried putting this function inside and outside the join function. I want to get the breakout room list of attendees every 10ish second.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 18, 2022, 1:06pm UTC](https://devforum.zoom.us/t/getbreakoutroomlist-error-3003-or-js-error/65439/2 "2022-03-18T13:06:46Z")

</div>

@joris.nicolas,

Thank you for posting in the Developer Forum. It looks like there is a support ticket in our system for this topic. We will continue to provide support there.

Best,  
Donte

---

<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:** [April 17, 2022, 11:08pm UTC](https://devforum.zoom.us/t/getbreakoutroomlist-error-3003-or-js-error/65439/3 "2022-04-17T23:08:28Z")

</div>

Closed on April 17, 2022, 11:08pm UTC

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