# Inconsistent User Count in Session After User Reconnection

**URL:** <https://devforum.zoom.us/t/inconsistent-user-count-in-session-after-user-reconnection/134189>\
**Category:** Video SDK\
**Created:** [June 19, 2025, 10:11am UTC](https://devforum.zoom.us/t/inconsistent-user-count-in-session-after-user-reconnection/134189 "2025-06-19T10:11:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anhtv](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anhtv/32/67823_2.png) [@anhtv](https://devforum.zoom.us/u/anhtv)\
**Post date:** [June 19, 2025, 10:11am UTC](https://devforum.zoom.us/t/inconsistent-user-count-in-session-after-user-reconnection/134189/1 "2025-06-19T10:11:22Z")

</div>

#### 1. Background

We have a `RECORDING_BOT` user with the following logic:

- It listens to the following events: `user-removed`, `user-added`, `user-updated`, `current-audio-change`, `command-channel-status`.
- Upon receiving any of these events, it calls `zoomClient.getAllUser()` to fetch the current list of users in the session.
- If only `RECORDING_BOT` is present, it will automatically leave the session.

* * *

#### 2. Timeline of the Issue

**Session ID:** `xq9W7GA6SnOQpHcj2YglWg==`

- The consultant lost network connection.

- After the network was restored, the consultant reconnected.

- Upon reconnection, the consultant’s client called the API: `/videosdk/sessions/{session_id}/users`. This API call returned **2 users** in the session.

- According to the Zoom Dashboard:

* * *

#### 3. Questions

1. When a user (consultant) reconnects, does Zoom actually remove and re-add the user to the session?

2. At what time did `RECORDING_BOT` receive the `user-removed` event for the consultant during this sequence?

3. At **09:56:54.673Z** , when the `/videosdk/sessions/{session_id}/users` API returned 2 users. Did this reflect the **actual number of users** present in the session at that exact time?

* * *

We would greatly appreciate your clarification on these points so we can handle session logic accurately in our system.

Thank you very much for your support.

---

<div class="post-metadata">

**Author:** ![ticorrian.heard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ticorrian.heard/32/70213_2.png) [@ticorrian.heard](https://devforum.zoom.us/u/ticorrian.heard)\
**Post date:** [June 20, 2025, 4:50pm UTC](https://devforum.zoom.us/t/inconsistent-user-count-in-session-after-user-reconnection/134189/2 "2025-06-20T16:50:55Z")

</div>

Hi @anhtv on reconnect, another instance of the same user is created with a unique user id. This is reflected in the dashboard but the API will return the current amount of users in the meeting which in this case was 2 since the meeting bot left (at 06/18/2025 09:56:54:231 according to the server).

---

<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:** [June 23, 2025, 1:36am UTC](https://devforum.zoom.us/t/inconsistent-user-count-in-session-after-user-reconnection/134189/3 "2025-06-23T01:36:20Z")

</div>

Closed on June 23, 2025, 1:36am UTC

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