# client.removeUser() fails with OPERATION\_TIMEOUT when in a subsession

**URL:** <https://devforum.zoom.us/t/client-removeuser-fails-with-operation-timeout-when-in-a-subsession/134563>\
**Category:** Video SDK\
**Tags:** video-sdk\
**Created:** [June 27, 2025, 9:46am UTC](https://devforum.zoom.us/t/client-removeuser-fails-with-operation-timeout-when-in-a-subsession/134563 "2025-06-27T09:46:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan11](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jonathan11/32/69922_2.png) [@Jonathan11](https://devforum.zoom.us/u/Jonathan11)\
**Post date:** [June 27, 2025, 9:47am UTC](https://devforum.zoom.us/t/client-removeuser-fails-with-operation-timeout-when-in-a-subsession/134563/1 "2025-06-27T09:47:00Z")

</div>

**Using VideoSDK for Web version 2.2.0, Chrome 138 & Edge 137**

Hi,  
I’m creating a subsession and adding users to it as follows. This all seems to work correctly

```auto
const createResponse = await subsessionClient.createSubsessions(1);
const subsession = createResponse[0];

for (const u of participantsToAdd) {
	 await subsessionClient.assignUserToSubsession(u.userId, subsession.subsessionId);
}

await subsessionClient.openSubsessions([subsession], {
	 isAutoJoinSubsession: true,
	 isAutoMoveBackToMainSession: true,
	 waitSeconds: 0
});

await subsessionClient.joinSubsession(subsession.subsessionId);

```

When in the subsession, calling `client.removeUser()` fails after a few seconds with

```auto
{
	"type": "OPERATION_TIMEOUT",
	"errorCode": 1
}

```

This seems to only affect subsessions, calling `removeUser()` from the main session works as expected.

I’m having a possibly related issue with `subsessionClient.moveBackToMainSession()` which I’ll add as a separate ticket

---

<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 27, 2025, 3:40pm UTC](https://devforum.zoom.us/t/client-removeuser-fails-with-operation-timeout-when-in-a-subsession/134563/2 "2025-06-27T15:40:30Z")

</div>

Hey @Jonathan11

Thanks for your feedback.

This is indeed an issue with our Video SDK, and we will fix it in the next release.

Thanks  
Vic
