# Cannot leave meeting -- Uncaught TypeError: l.a.getJoinVoIPTimes is not a function

**URL:** <https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477>\
**Category:** Web\
**Created:** [March 9, 2020, 9:53am UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477 "2020-03-09T09:53:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![masahiro.harada](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/masahiro.harada/32/3445_2.png) [@masahiro.harada](https://devforum.zoom.us/u/masahiro.harada)\
**Post date:** [March 9, 2020, 9:53am UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/1 "2020-03-09T09:53:47Z")

</div>

**Description**

When I click “Leave Meeting”, below error show up in console and redirection to `leave_url` does not occur.

```auto
Uncaught TypeError: l.a.getJoinVoIPTimes is not a function

```

Is there any possible reason for this error?

**Which version?**

Web sdk version 1.7.0.

**To Reproduce(If applicable)**

1. Join meeting.
2. Click “Leave Meeting”.

**Screenshots**

 ![スクリーンショット 2020-03-09 18.40.41](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/3363d53a0756d2e75e48f7f5be4c141421d8bad4.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 9, 2020, 4:41pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/2 "2020-03-09T16:41:09Z")

</div>

Hey @masahiro.harada, thanks for posting and using Zoom!

Can you please share your code so I can debug?

(My leave button works.)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![frank.becker](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frank.becker/32/3605_2.png) [@frank.becker](https://devforum.zoom.us/u/frank.becker)\
**Post date:** [April 15, 2020, 10:00pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/3 "2020-04-15T22:00:49Z")

</div>

We’ve seen this error as well.

This user was on Linux:

 ![Screen Shot 2020-04-15 at 14.59.51](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/851b68a2b8949bbccb8e9e9e52a5b815cc8a9af7.png)

SDK app runs in an iframe and we call ZoomMtg.leaveMeeting

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 16, 2020, 9:35pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/4 "2020-04-16T21:35:32Z")

</div>

Hey @frank.becker,

Thanks for the details. Are you redirected to the leaveUrl, or does it just stay in place throwing errors?

-Tommy

---

<div class="post-metadata">

**Author:** ![frank.becker](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frank.becker/32/3605_2.png) [@frank.becker](https://devforum.zoom.us/u/frank.becker)\
**Post date:** [April 16, 2020, 11:02pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/5 "2020-04-16T23:02:15Z")

</div>

I haven’t been able to reproduce on my linux vm. We’ve set the leaveUrl to about:blank and I believe the person saw a blank iframe. In the success callback for leaveMeeting we reload the zoom iframe in order to load the next meeting and it did not get to that point. The person tried to manually load the next meeting but it complained about still being in another meeting. So leaveMeeting didn’t succeed and leaving the page did not immediately kick them out of the original meeting - like here [Closing app does not properly leave the meeting](https://devforum.zoom.us/t/closing-app-does-not-properly-leave-the-meeting/5928)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 17, 2020, 6:46am UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/6 "2020-04-17T06:46:21Z")

</div>

Hey @frank.becker,

I suggest not embedding the Zoom Web SDK into an iFrame, we did not design the Web SDK to be used within iFrames so there could be issues.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nayanpipaliya35](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nayanpipaliya35/32/13540_2.png) [@nayanpipaliya35](https://devforum.zoom.us/u/nayanpipaliya35)\
**Post date:** [August 15, 2020, 6:20am UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/7 "2020-08-15T06:20:05Z")

</div>

Hey @tommy we are not using iframe but still we are fetching same issue  
here is my code sample  
` ZoomMtg.init({ leaveUrl: meetConfig.leaveUrl, isSupportAV: true, success() { ZoomMtg.join({ meetingNumber: meetConfig.meetingNumber, userName: meetConfig.userName, signature, apiKey: meetConfig.apiKey, userEmail: meetConfig.email, passWord: meetConfig.passWord, success() { selfInst.props.storeWarnUserOnPageLeave({ stateUpdated: true, showPopupForSaveSetting: false, selectedLink: '', }); }, error(e) { console.log('error', e); }, }); }, error(res) { console.log('Error while joining Zoom meeting', res); }, });`

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 18, 2020, 8:24pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/8 "2020-08-18T20:24:12Z")

</div>

Hey @nayanpipaliya35,

Can you please share steps to reproduce the issue, the version of the Web SDK you are using, and a screenshot of the errors in the browser console?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [September 6, 2020, 8:50pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/9 "2020-09-06T20:50:03Z")

</div>

Any news about that bug ? It’s been months…

There are other threads in the forum mentioning it with screenshot and details.

- This happen on all versions from version 1.7.0 to 1.8.0 (including)
- This happen internally on the web SDK and is not related to the application implementation (i mean you can reproduce it with demo application as well)
- Just use any Web SDK based zoom application, open and join a meeting as host long enough and leave / end it. You may have these traces some times at the moment you leave. (the bug do not occur 100% of time)
- Just test it enough time to reproduce it, it happens on our application multiple times per day for many different users and OS profiles so i think it’s not really linked to that.
- As reported by me on another thread, it looks like a race condition when closing resources on the client during the leave action. (but this is just a guess)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 9, 2020, 2:15pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/10 "2020-09-09T14:15:16Z")

</div>

Hi @nvivot,

Can you please share your code and a screenshot of the errors in the browser console? This will allow us to take a closer look at your specific instance of this error.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 10, 2020, 4:36pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/11 "2020-09-10T16:36:02Z")

</div>

Hey @nvivot,

Are you using the Web SDK in an iFrame? Also, what is the leaveUrl you are using?

While I am not able to reproduce this issue. I have notified our engineers and they are looking into why this error is being thrown. (CS-2304)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [September 10, 2020, 10:57pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/12 "2020-09-10T22:57:25Z")

</div>

@will.zoom  
Sorry we cannot share our code like this.

@tommy  
Yes we embed zoom in an iFrame. (we are planning to remove the iFrame usage)  
We are using a custom leaveUrl to redirect to an internal web page of our application.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 14, 2020, 7:59pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/13 "2020-09-14T19:59:03Z")

</div>

Hey @nvivot,

Thanks for the info. Please let. me know if you also see this issue when you are not using an iFrame.

-Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [October 8, 2020, 12:26am UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/14 "2020-10-08T00:26:48Z")

</div>

We do not see this error anymore since we removed the iFrame.

We also upgrade zoom version from 1.7.10 to 1.8.1, but i guess it’s not coming from the web SDK as this kind of error where happening from March this year already.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 9, 2020, 7:18pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/15 "2020-10-09T19:18:59Z")

</div>

Hey @nvivot,

Thanks for the update. Happy to hear the error is not there if you do not use the iFrame.

-Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 16, 2020, 6:46pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/16 "2020-10-16T18:46:28Z")

</div>

Hey everyone,

If you are still experiencing this issue, it will be fixed in version 1.8.5.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [October 22, 2020, 12:57am UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/17 "2020-10-22T00:57:27Z")

</div>

Hi,

The error is still there even after removing the iframe, it was just hidden by our redirection system on a new web page after leaving the meeting.

I also had a complete black screen when the host ended the meeting on a non host participant side, without the popup informing that the host ended the meeting. First time i get this.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/f/7f7773b3ce94aa06b9f382a14f23af49befce1c9.png)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 22, 2020, 1:09pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/18 "2020-10-22T13:09:14Z")

</div>

Hi @nvivot,

Thanks for confirming that you still get that uncaughtTypeError, even when not iFraming. We are working to address this in an upcoming release. (CS-2304)

Regarding the black screen when the host ended the meeting, was this experienced for all participants or just 1? Can you confirm what your `leaveUrl` is set to? Any additional details will be helpful to look into this further.

Thank you,  
Will

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [October 26, 2020, 12:35am UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/19 "2020-10-26T00:35:55Z")

</div>

Hi Will,

Right now it is 1 to 1 meeting, so yes it was experience by all participants from the meeting 😃

More seriously, unfortunately since it’s 1 to 1 i cannot tell you if such error would affect all or only one participant with a multiple non host participants meeting.

Our leaveUrl is set to ‘/#survey’, so it redirects to same page on current application.

Again this error happened only once, i could not reproduce it and i cannot find it happening for our users (until now at least). I’ll monitor this more carefully and let you know if i find something useful to report.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 26, 2020, 8:40pm UTC](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477/20 "2020-10-26T20:40:54Z")

</div>

Hi @nvivot,

I see—thank you for clarifying.

Since I haven’t been able to reproduce this on my end so far, please do let me know if you encounter this again, and I’ll be happy to keep investigating.

Thanks,  
Will

[Next page](https://devforum.zoom.us/t/cannot-leave-meeting-uncaught-typeerror-l-a-getjoinvoiptimes-is-not-a-function/8477.md?page=2)
