# Error Using The Function ZoomSession.Leave()

**URL:** <https://devforum.zoom.us/t/error-using-the-function-zoomsession-leave/103767>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [February 13, 2024, 2:48pm UTC](https://devforum.zoom.us/t/error-using-the-function-zoomsession-leave/103767 "2024-02-13T14:48:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grupo.gonorma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/grupo.gonorma/32/55597_2.png) [@grupo.gonorma](https://devforum.zoom.us/u/grupo.gonorma)\
**Post date:** [February 13, 2024, 2:48pm UTC](https://devforum.zoom.us/t/error-using-the-function-zoomsession-leave/103767/1 "2024-02-13T14:48:18Z")

</div>

Hello, we hope you are well.

We received an error while using the function.  
zoomSession.leave()

The error it shows for the console is:  
zoomSession.leave is not a function

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/6/b610da5e182b7dc05fe4996606a254a5880c8ade.png)

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/3/c3fb0b5000ec3efd6d0966c1b64967f4defb1b2c.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/6/b610da5e182b7dc05fe4996606a254a5880c8ade.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/3/d38910039099ee369bd1ed3d3eab6b53627a309a.png)

---

<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:** [February 14, 2024, 4:55am UTC](https://devforum.zoom.us/t/error-using-the-function-zoomsession-leave/103767/2 "2024-02-14T04:55:32Z")

</div>

@grupo.gonorma ,

Could you double check if zoomSession is a VideoClient object?

---

<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 15, 2024, 2:55pm UTC](https://devforum.zoom.us/t/error-using-the-function-zoomsession-leave/103767/3 "2024-03-15T14:55:55Z")

</div>

Closed on March 15, 2024, 2:55pm UTC

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