# GuestMode: changeBreakoutRoom is not working

**URL:** <https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052>\
**Category:** Zoom Apps\
**Created:** [July 12, 2022, 6:22am UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052 "2022-07-12T06:22:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jayesh/32/39296_2.png) [@jayesh](https://devforum.zoom.us/u/jayesh)\
**Post date:** [July 12, 2022, 6:22am UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/1 "2022-07-12T06:22:25Z")

</div>

Hi,  
we are getting an error **`Error: Change Breakout Room failed.`** from changeBreakoutRoom zoom sdk api. It is working fine for host but not for attendee.

can someone help on this? Thank you!

---

<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:** [July 13, 2022, 8:03pm UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/2 "2022-07-13T20:03:14Z")

</div>

@jayesh,

Welcome to the Zoom Developer Forum. Can you share more details about the behavior you are seeing?

1. What are the exact steps to reproduce?

2. Can you provide more details regarding your use case and the intended workflow you are trying to accomplish?

3. Can you share a screenshot of the error you are seeing?

4. What is the \* user context status ? ‘unauthenticated’ or ‘authenticated’ or ‘authorized’

---

<div class="post-metadata">

**Author:** ![jayesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jayesh/32/39296_2.png) [@jayesh](https://devforum.zoom.us/u/jayesh)\
**Post date:** [July 19, 2022, 7:58am UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/4 "2022-07-19T07:58:08Z")

</div>

@donte.zoom thanks for replying,

1. To reproduce please follow below steps:

- start meeting =\> create breakout rooms using createBreakoutRooms =\> open all of them using  
openBreakoutRooms
- join attendee in that meeting and try to change the breakout room with changeBreakoutRoom API call.

1. We have an application where user can enter into an event and sit on a table. When they sit on a table we assign them a breakout room. Its like virtual event concept. What we have done is created mapping of table and breakout room at our end. So if event has 5 tables that will be mapped to 5 breakout rooms. Now when you join you are assigned a table that means you will enter breakout room mapped to that table. Now if you hop on to a new table we need to switch to a new breakout room ie: breakout room mapped to that table. For doing this we use postmessage communication where we emit breakoutId each time that is mapped to a specific table.

We are getting all data fine, its just that when we try to switch it gives error mentioned below. This works fine for host or owner but not for attendee mode or guest mode. The documentation says it should work for both.

1. 

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/3/93f60a14b5fc813565c4e5148dd2b800c187ae8d.png)

1. authorized state and unauthenticated state both are not working

---

<div class="post-metadata">

**Author:** ![evgeny.balashov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/evgeny.balashov/32/35990_2.png) [@evgeny.balashov](https://devforum.zoom.us/u/evgeny.balashov)\
**Post date:** [July 23, 2022, 12:51am UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/5 "2022-07-23T00:51:30Z")

</div>

@jayesh

Can you please check two things:

1. Are you allowing participants to choose breakout rooms? (option “participantsChoose”)
2. Are you able to use assignParticipantToBreakoutRoom on the host side for that participant?

---

<div class="post-metadata">

**Author:** ![jayesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jayesh/32/39296_2.png) [@jayesh](https://devforum.zoom.us/u/jayesh)\
**Post date:** [July 27, 2022, 6:23am UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/6 "2022-07-27T06:23:54Z")

</div>

@evgeny.balashov thanks for the reply

we are now able to use this api at participant side as well after giving “participantsChoose” in option.  
it’s not working for either automatically or manually

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [August 11, 2022, 6:24pm UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/7 "2022-08-11T18:24:40Z")

</div>

> [@jayesh](#):
>
> we are now able to use this api at participant side as well after giving “participantsChoose” in option.

Just to clarify, did you mean you’re _not_ able to? This sounds like it could be a bug but I just want to confirm with you first.

---

<div class="post-metadata">

**Author:** ![jayesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jayesh/32/39296_2.png) [@jayesh](https://devforum.zoom.us/u/jayesh)\
**Post date:** [August 23, 2022, 6:24pm UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/8 "2022-08-23T18:24:43Z")

</div>

@MaxM

So there are 2 modes in zoom, one is participant choose, if we give this option in breakoutroom then we are able to change breakout room from participant side itself which we were planning to do. This makes sense as if we enable that option zoom itself gives options for participant to choose which breakout room they want to be in and we can do same via SDK as well change the breakout room of participant on certain events.

On earlier option where it was automatic we were not able to switch breakoutroom at participant and SDK used to give the error as mentioned above.

Does this make sense or do you think there is something wrong in this?

---

<div class="post-metadata">

**Author:** ![evgeny.balashov](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/evgeny.balashov/32/35990_2.png) [@evgeny.balashov](https://devforum.zoom.us/u/evgeny.balashov)\
**Post date:** [August 23, 2022, 11:29pm UTC](https://devforum.zoom.us/t/guestmode-changebreakoutroom-is-not-working/72052/9 "2022-08-23T23:29:04Z")

</div>

Yes, that’s correct: only “allow participants to choose” allows participants to trigger breakout room change.
