# Got 404 not found error when make API call to zoom video sdk APIs

**URL:** <https://devforum.zoom.us/t/got-404-not-found-error-when-make-api-call-to-zoom-video-sdk-apis/101003>\
**Category:** Video SDK\
**Tags:** api, video-sdk\
**Created:** [January 1, 2024, 12:29pm UTC](https://devforum.zoom.us/t/got-404-not-found-error-when-make-api-call-to-zoom-video-sdk-apis/101003 "2024-01-01T12:29:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nimesh.metaliya11](https://avatars.discourse-cdn.com/v4/letter/n/df788c/32.png) [@nimesh.metaliya11](https://devforum.zoom.us/u/nimesh.metaliya11)\
**Post date:** [January 1, 2024, 12:29pm UTC](https://devforum.zoom.us/t/got-404-not-found-error-when-make-api-call-to-zoom-video-sdk-apis/101003/1 "2024-01-01T12:29:13Z")

</div>

I have one query regarding the zoom video sdk API.

List session users

GET /videosdk/sessions/{sessionId}/users

I use this API for getting users for a particular session.

Below code is implemented in java to make API requests to Zoom.

String apiUrl = “[https://api.zoom.us/v2/videosdk/sessions](https://api.zoom.us/v2/videosdk/sessions)”;

ArrayList interceptors = new ArrayList\<\>();  
interceptors.add(new HeaderRequestInterceptor(“content-type”, “application/x-www-form-urlencoded”));  
interceptors.add(new HeaderRequestInterceptor(“Authorization”, "Bearer " + token));

restTemplate.setInterceptors(interceptors);

```
    URI uri = UriComponentsBuilder.fromUriString(apiUrl)
    .pathSegment(sessionId)
    .path("/users")
            .build()
            .toUri();

```

ResponseEntity response = restTemplate.getForEntity(uri, String.class);

if (response.getStatusCode().is2xxSuccessful()) {  
System.out.println("API Response: " + response.getBody());  
return response.getBody();  
} else {  
System.out.println("Error: " + response.getStatusCode());  
return null;  
}

This is give me Error : 404 NOT FOUND

My current plan : pay as you go

---

<div class="post-metadata">

**Author:** ![kellyjandrews](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kellyjandrews/32/51599_2.png) [@kellyjandrews](https://devforum.zoom.us/u/kellyjandrews)\
**Post date:** [January 2, 2024, 4:56pm UTC](https://devforum.zoom.us/t/got-404-not-found-error-when-make-api-call-to-zoom-video-sdk-apis/101003/2 "2024-01-02T16:56:51Z")

</div>

Hey there 👋

Are you getting a 404 with `GET /videosdk/sessions/{sessionId}/users` all the time? Are your credentials from your VideoSDK account to access the API?

In case it helps, you can access the insession users directly from the VideoSDK as well - [VideoClient | Zoom Video SDK for Web - 1.10.1](https://marketplacefront.zoom.us/sdk/custom/web/modules/VideoClient.html#getAllUser)

Let me know if this helps.

---

<div class="post-metadata">

**Author:** ![nimesh.metaliya11](https://avatars.discourse-cdn.com/v4/letter/n/df788c/32.png) [@nimesh.metaliya11](https://devforum.zoom.us/u/nimesh.metaliya11)\
**Post date:** [January 3, 2024, 6:23am UTC](https://devforum.zoom.us/t/got-404-not-found-error-when-make-api-call-to-zoom-video-sdk-apis/101003/3 "2024-01-03T06:23:41Z")

</div>

Hii Kelly

Thank you for response

Yes, I got all the time 404 not found error

for this API : GET /videosdk/sessions/{sessionId}/users

But, I got 200 success response and list of sessions below API :

[https://api.zoom.us/v2/videosdk/sessions](https://api.zoom.us/v2/videosdk/sessions)

I don’t know what is wrong here.

Please help me resolve this issue.

---

<div class="post-metadata">

**Author:** ![kellyjandrews](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kellyjandrews/32/51599_2.png) [@kellyjandrews](https://devforum.zoom.us/u/kellyjandrews)\
**Post date:** [January 3, 2024, 12:36pm UTC](https://devforum.zoom.us/t/got-404-not-found-error-when-make-api-call-to-zoom-video-sdk-apis/101003/4 "2024-01-03T12:36:21Z")

</div>

I assume that when called, you are also replacing {sessionId} with a valid sessionId, correct?

---

<div class="post-metadata">

**Author:** ![nimesh.metaliya11](https://avatars.discourse-cdn.com/v4/letter/n/df788c/32.png) [@nimesh.metaliya11](https://devforum.zoom.us/u/nimesh.metaliya11)\
**Post date:** [January 4, 2024, 4:03am UTC](https://devforum.zoom.us/t/got-404-not-found-error-when-make-api-call-to-zoom-video-sdk-apis/101003/5 "2024-01-04T04:03:40Z")

</div>

Yes and I get session Id from below API for session details :

[https://api.zoom.us/v2/videosdk/sessions](https://api.zoom.us/v2/videosdk/sessions)
