# Waiting room: admit (putonhold) sometimes fails

**URL:** <https://devforum.zoom.us/t/waiting-room-admit-putonhold-sometimes-fails/41704>\
**Category:** Web\
**Created:** [January 27, 2021, 3:10pm UTC](https://devforum.zoom.us/t/waiting-room-admit-putonhold-sometimes-fails/41704 "2021-01-27T15:10:34Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [February 9, 2021, 6:51am UTC](https://devforum.zoom.us/t/waiting-room-admit-putonhold-sometimes-fails/41704/14 "2021-02-09T06:51:24Z")

</div>

@alexander.brotzge

I’m curious about how you manage the user.id information between connection / disconnection of your users ?  
You problem seems to be related to what i already reported here :

> [@Blocking inconsistencies between inMeetingServiceListener() data and getCurrentUser() data](https://devforum.zoom.us/t/blocking-inconsistencies-between-inmeetingservicelistener-data-and-getcurrentuser-data/39645):
>
> Description I wanted to subscribe to the events when a user is put on hold and then put back into a meeting to see if i can customize my application behavior. I faced several issues and tried to find workaround but in the end the way the SDK is designed now make it impossible to react correctly on an event. I won’t enter into the details, so long story short, if you want to apply a behavior on a specific user when he receive an event, and because the zoom web SDK broadcast a single event to al…

I did not check the details, but it looks like you keep track of userId on a list (waitingRoomParticipants) and invoke the function to put them back & so on. But because of the user id renewal stuf, it would work the first time only since your users are going to reconnect when putting back on the meeting from the waiting room and thus change their user id information. It might be the cause of the error code you get, because it’s kinda weird to receive such a message about rate limit when you are clearly not requesting much the API… if that’s the real cause, then Zoom should also fix that incorrect error code handling. (If not please just ignore)

If that’s not the real issue, it might also comes from the fact that you permanently add new user data to your list since the id of a user is renewed when reconnecting to your meeting from the waiting room.  
Since you’re doing a loop from that list that potentially grow indefinitely (you do not seem to purge it), you may reach the API rate limit during one of your loop processing.

@MaxM So it looks like this whole user identity thing i reported a while ago is still not fixed. Could you please re-open my thread (see above) with a status update ? You’ve published a feature that is “half coded” and un-usable, that’s a pity. I think we all want to use it so, when is it going to work ?

---

_[View the full topic](https://devforum.zoom.us/t/waiting-room-admit-putonhold-sometimes-fails/41704)._
