# Active Session Not Returned by /videosdk/sessions API

**URL:** <https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076>\
**Category:** Web\
**Tags:** api, video-sdk\
**Created:** [May 22, 2025, 8:48am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076 "2025-05-22T08:48:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [May 22, 2025, 8:48am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/1 "2025-05-22T08:48:04Z")

</div>

**Description**  
I made an API request to `/videosdk/sessions` with the parameter `session_name=2303457008_1747637230356` at `"2025-05-22T15:33:12+09:00"`, but the response I received was empty.

However, at that exact time, I had an active session with the ID `BtO+9ZrWS+uneAТ+mipkqw==`, which was running from `"2025-05-22T15:33:07+09:00"` to `"2025-05-22T16:17:35+09:00"`.

Could you please check the logs for me? I would like to understand why the API returned incorrect data.

**Which Web Video SDK version?**  
2.1.0

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [May 22, 2025, 8:49am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/2 "2025-05-22T08:49:12Z")

</div>

@vic.yang I would appreciate it if you could look into this issue.  
I look forward to hearing from you soon.  
Thank,  
Phuong

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [May 22, 2025, 9:21am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/3 "2025-05-22T09:21:13Z")

</div>

Hey @phuongnv1

Thanks for your feedback.

> BtO+9ZrWS+uneAТ+mipkqw==

We searched the session ID in our system but couldn’t find any session that matches it.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [May 22, 2025, 9:27am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/4 "2025-05-22T09:27:22Z")

</div>

@vic.yang It seems the `sessionId` might contain incorrect Unicode characters.  
Could you please help check the session ID `BtO+9ZrWS+uneAT+mipkqw==`?  
Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [May 23, 2025, 3:14am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/5 "2025-05-23T03:14:29Z")

</div>

@vic.yang I’d really appreciate it if you could take a look soon.  
Your help would be very much appreciated.  
Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [May 23, 2025, 3:41am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/6 "2025-05-23T03:41:52Z")

</div>

Hi @phuongnv1

Could you share the `x-zm-trackingid` value from the response headers with us for troubleshooting?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [May 23, 2025, 4:04am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/7 "2025-05-23T04:04:46Z")

</div>

@vic.yang Currently, we are unable to retrieve the `x-zm-trackingid` header on our side.  
However, I believe the logs should contain basic information such as the request timestamp and the parameters (payload) sent.  
Would it be possible for you to check the logs using these details?

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [May 23, 2025, 9:40am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/8 "2025-05-23T09:40:25Z")

</div>

@vic.yang  
Is this a limitation of the Zoom Video SDK?  
Can I configure my Zoom account so that the API can access data in real time? (For example, as a paid feature option)

I would appreciate your feedback.

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [June 2, 2025, 2:06am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/9 "2025-06-02T02:06:24Z")

</div>

@vic.yang  
I continue to encounter a similar issue. Could you please help me check with `x-zm-trackingid` equal to `"v=2.0;clid=aw1;rid=WEB_fa8ae0be2c3ff7164814f30ed440c818"`?

I look forward to hearing back from you.

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [June 4, 2025, 2:13am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/10 "2025-06-04T02:13:22Z")

</div>

@vic.yang  
I’ve sent the `x-zm-trackingid`. Could you please check the logs for me so I can better understand how to handle this issue?

I would appreciate your feedback.

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 5, 2025, 9:32am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/11 "2025-06-05T09:32:53Z")

</div>

Hey @phuongnv1

> v=2.0;clid=aw1;rid=WEB\_fa8ae0be2c3ff7164814f30ed440c818

We found that in this query, the `session_name` parameter did not match any active sessions, so the result returned was empty.

If you encounter this issue again, could you please share the `session_name`, `from`, and `to` parameters, along with the `x-zm-trackingid` value for further troubleshooting?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [June 5, 2025, 1:27pm UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/12 "2025-06-05T13:27:15Z")

</div>

Hey @vic.yang ,  
Thank you for your response.

I would like to further clarify this case. For the request with `x-zm-trackingid` set to `v=2.0;clid=aw1;rid=WEB_fa8ae0be2c3ff7164814f30ed440c818`, we sent the following parameters:

```auto
{ type: 'live', session_name: '8438180395_1748686843824' }

```

The request was made at `2025-05-31T10:22:00.745Z`, during which a session with sessionId `OuZXjWsYQ7+i5B7lCaAhvA==` was active. This session started at `2025-05-31T10:21:56Z` and ended at `2025-05-31T10:24:11Z`. Based on the session time and the request time, returning an empty data response appears to be incorrect.

I hope you can help clarify this issue.

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [June 6, 2025, 8:35am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/13 "2025-06-06T08:35:55Z")

</div>

Hey @vic.yang  
Could you please help me check the detailed logs?  
I would appreciate your feedback.  
Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 6, 2025, 1:33pm UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/14 "2025-06-06T13:33:15Z")

</div>

Hi @phuongnv1

Thanks for providing the detailed information.

We analyzed the logs and tried to reproduce the issue, but were unsuccessful. We may need your further assistance to identify the root cause.

- Is it that _all_ sessions cannot be found using `session_name`, or only _some_ sessions? If it’s only some, do those sessions have any particular characteristics?

- Can the sessions be found if you remove the `session_name` condition?

- Can you find past sessions using `session_name`?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [June 9, 2025, 4:20am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/15 "2025-06-09T04:20:31Z")

</div>

Hey @vic.yang

> We analyzed the logs and tried to reproduce the issue, but were unsuccessful.

It seems that if the query is executed within 3 to 4 seconds after the session starts, no results are returned. In other cases, it works fine. Could you try to reproduce the issue based on that scenario?

> - Is it that _all_ sessions cannot be found using `session_name`, or only _some_ sessions? If it’s only some, do those sessions have any particular characteristics?

Currently, a few sessions are experiencing this issue, even though there’s no apparent difference compared to other sessions.

> - Can the sessions be found if you remove the `session_name` condition?

Since our case requires finding active sessions based on the `session_name`, I haven’t been able to test that scenario yet. However, I suspect it’s experiencing the same issue, as mentioned earlier — if the query is made within the first 3 to 4 seconds, no results are returned.

> - Can you find past sessions using `session_name`?

Retrieving past sessions based on the `session_name` is still working as expected.

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 10, 2025, 6:45am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/16 "2025-06-10T06:45:49Z")

</div>

Hey @phuongnv1

> It seems that if the query is executed within 3 to 4 seconds after the session starts, no results are returned. In other cases, it works fine.

Yes. It’s by design. We recommend querying the active sessions after the session has been running for at least 10 seconds. The RESTful API is not real-time and may take some time to reflect the updated session status.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [June 11, 2025, 8:10am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/17 "2025-06-11T08:10:00Z")

</div>

Hey @vic.yang  
Thank you for your response.  
I would also like to confirm whether, when using the `/videosdk/sessions/{sessionId}/users` API to retrieve the list of users in a live session, the returned data might differ from the actual number of users currently in the session.

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 11, 2025, 9:35am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/18 "2025-06-11T09:35:39Z")

</div>

Hi @phuongnv1

> the returned data might differ from the actual number of users currently in the session

Which part is different? Could you provide a detailed example? Would the issue be resolved if you wait a bit before querying again?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![phuongnv1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phuongnv1/32/54805_2.png) [@phuongnv1](https://devforum.zoom.us/u/phuongnv1)\
**Post date:** [June 11, 2025, 9:57am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/19 "2025-06-11T09:57:30Z")

</div>

@vic.yang  
Let me explain the flow of my case in more detail:

- **Frontend** : It checks if there is any user other than user A (e.g., a new user B joins). If so, it calls the `/example` API.
- **Backend** : Within the `/example` API, it then calls `/videosdk/sessions/{sessionId}/users` to retrieve the list of users in the session. However, the response only includes user A.

Could this be the same issue we previously discussed regarding retrieving data from a live session?

Thanks  
Phuong

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 11, 2025, 10:48am UTC](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076/20 "2025-06-11T10:48:45Z")

</div>

Hi @phuongnv1

> Could this be the same issue we previously discussed regarding retrieving data from a live session?

Yes.

You can try using webhooks to listen for the user joined event. This allows the Backend to more accurately determine the right timing to call the API.

> **session.user\_joined**  
> [Video SDK Webhooks](https://developers.zoom.us/docs/api/video-sdk/events/#tag/session/POSTsession.user_joined)

Thanks  
Vic

​

[Next page](https://devforum.zoom.us/t/active-session-not-returned-by-videosdk-sessions-api/133076.md?page=2)
