# Intermittent 404 NotFound Response When Accessing Zoom Video API's Session Detail

**URL:** <https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201>\
**Category:** API and Webhooks\
**Tags:** video-sdk\
**Created:** [October 23, 2023, 8:55am UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201 "2023-10-23T08:55:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kazuto.okada](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuto.okada/32/53220_2.png) [@kazuto.okada](https://devforum.zoom.us/u/kazuto.okada)\
**Post date:** [October 23, 2023, 8:55am UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/1 "2023-10-23T08:55:19Z")

</div>

I have a question regarding the Video API that we use for our company’s video chat service.

Regarding the Zoom Video API’s session detail retrieval API:

> **[Zoom Video SDK API](https://developers.zoom.us/docs/video-sdk/apis/#operation/sessionDetail)**
>
> API Reference for /docs/api/rest/reference/video-sdk/methods

We receive the issued session\_id and session\_number from the client and reference them from the server. However, sometimes we get a 404 NotFound response depending on the timing. Is there a delay for the information to be synchronized or any other reason for this?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 23, 2023, 11:59am UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/3 "2023-10-23T11:59:53Z")

</div>

Hi @kazuto.okada ,

Welcome to the forum! Let’s try to resolve this! Are you querying a live or past session? What is the timing between the session starting/ending before you query?

---

<div class="post-metadata">

**Author:** ![kazuto.okada](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuto.okada/32/53220_2.png) [@kazuto.okada](https://devforum.zoom.us/u/kazuto.okada)\
**Post date:** [October 23, 2023, 3:47pm UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/4 "2023-10-23T15:47:45Z")

</div>

Hi @gianni.zoom,

Thank you for the quick response! It’s a live session. Here’s what we are doing:

- ClientA (Android or iOS) starts a meeting using the Zoom Video SDK.
- ClientA sends the session\_number to our server.
- The server retrieves the session information using the session\_number as a parameter from the following: GET /videosdk/sessions/{session\_number} and then extracts the session\_id from it.
- Once retrieved, it notifies ClientB with the session\_id.

The issue we are facing is that sometimes the GET /videosdk/sessions/{session\_number} returns a 404.

I appreciate your help in resolving this!

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 23, 2023, 4:22pm UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/5 "2023-10-23T16:22:40Z")

</div>

Hi @kazuto.okada ,

Thanks so much. How much time between the session starting and querying the endpoint? I know for some endpoints there can be a 1-2 minute lag for live meeting dats to our servers depending on network configurations and other factors that sometimes gives inaccurate response.

---

<div class="post-metadata">

**Author:** ![kazuto.okada](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuto.okada/32/53220_2.png) [@kazuto.okada](https://devforum.zoom.us/u/kazuto.okada)\
**Post date:** [October 24, 2023, 1:31am UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/6 "2023-10-24T01:31:07Z")

</div>

Hi @gianni.zoom,

> [@gianni.zoom](#):
>
> Thanks so much. How much time between the session starting and querying the endpoint?

To initiate a meeting between clients, we send a query immediately after starting the session. Because the meeting needs to be recorded from the beginning, our server uses the session\_id to start the recording.  
If there’s a 1-2 minute lag as you mentioned, is there any workaround to avoid this?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 24, 2023, 2:48pm UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/7 "2023-10-24T14:48:05Z")

</div>

Hi @kazuto.okada ,

> [@kazuto.okada](#):
>
> To initiate a meeting between clients, we send a query immediately after starting the session. Because the meeting needs to be recorded from the beginning, our server uses the session\_id to start the recording.  
> If there’s a 1-2 minute lag as you mentioned, is there any workaround to avoid this?

Not to my awareness unless you build in a 1-2 minute delay between starting the meeting and calling the API.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [October 25, 2023, 8:28am UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/8 "2023-10-25T08:28:24Z")

</div>

@kazuto.okada ,

Ken has mentioned about this issue which you have encountered. Have you evaluated webhoook for “start session” ?

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

Some payload which is returned in the “start session” webhook is

```auto
{"event":"session.started","payload":{"account_id":"cWfHstxxxxxxxxxxxgudiA","object":{"session_name":"webchun6871","start_time":"2023-10-16T07:59:10Z","session_id":"Wyqjxxxxxxxxxx9IRgr+JAWQ==","id":"Wyqjfhxxxxxxxx9IRgr+JAWQ=="}},"event_ts":1697443150410}

```

---

<div class="post-metadata">

**Author:** ![kazuto.okada](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuto.okada/32/53220_2.png) [@kazuto.okada](https://devforum.zoom.us/u/kazuto.okada)\
**Post date:** [October 25, 2023, 1:32pm UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/9 "2023-10-25T13:32:52Z")

</div>

@chunsiong.zoom  
Thank you for your response.  
I cannot test it immediately because I need to allow external connections in our production environment, but if using a Webhook doesn’t cause the delay issue, I would like to consider it.

---

<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:** [March 7, 2024, 1:59am UTC](https://devforum.zoom.us/t/intermittent-404-notfound-response-when-accessing-zoom-video-apis-session-detail/97201/10 "2024-03-07T01:59:29Z")

</div>

Closed on March 7, 2024, 1:59am UTC

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