# Web SDK 1.8.5 calling error callback after successful join

**URL:** <https://devforum.zoom.us/t/web-sdk-1-8-5-calling-error-callback-after-successful-join/39378>\
**Category:** Web\
**Created:** [December 29, 2020, 8:18pm UTC](https://devforum.zoom.us/t/web-sdk-1-8-5-calling-error-callback-after-successful-join/39378 "2020-12-29T20:18:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ansell](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ansell/32/13709_2.png) [@ansell](https://devforum.zoom.us/u/ansell)\
**Post date:** [December 29, 2020, 8:18pm UTC](https://devforum.zoom.us/t/web-sdk-1-8-5-calling-error-callback-after-successful-join/39378/1 "2020-12-29T20:18:32Z")

</div>

**Description**  
After successfully joining a meeting with the latest Web SDK (1.8.5) it calls the `error` callback upon leaving the meeting. This did not happen with the last SDK we were using (1.7.10)

**Error**  
`{method: "join", status: false, result: "The meeting number is not found.", errorMessage: "The meeting number is not found.", errorCode: 3707}`

**Which version?**  
1.8.5

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Call `ZoomMtg.join()`
2. Verify that `success` callback is called and meeting starts
3. Without any other attendees joining press “End”
4. Select the option to “Leave Meeting” (rather than “End Meeting for All”)
5. The SDK calls the supplied `error` callback with the above error object

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Device (please complete the following information):**

- MacOS
- OS: macOS
- Version: 11.0
- Browser: Chrome 87.0 or Safari 14.0

**Additional context**  
This integration has been working for a long time on previous versions of the Web SDK. We recently upgraded from 1.7.10 to 1.8.5. The Zoom SDK is being hosted in an iFrame using the CDN version.

Upon further investigation, it appears that the SDK is attempting to “reconnect” after clicking the button to leave the meeting. A message briefly appears stating “attempting to reconnect…”

---

<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:** [December 29, 2020, 10:12pm UTC](https://devforum.zoom.us/t/web-sdk-1-8-5-calling-error-callback-after-successful-join/39378/2 "2020-12-29T22:12:20Z")

</div>

Hey @ansell,

> [@ansell](#):
>
> Upon further investigation, it appears that the SDK is attempting to “reconnect” after clicking the button to leave the meeting. A message briefly appears stating “attempting to reconnect…”

Thanks for pointing this out. We are aware of the issue and working on a fix in the next version:

> [@SDK 1.8.5 - Zoom component try to reconnect after leaving a meeting instead of closing](https://devforum.zoom.us/t/sdk-1-8-5-zoom-component-try-to-reconnect-after-leaving-a-meeting-instead-of-closing/39062):
>
> Description When leaving a zoom meeting with a participant, the zoom frame detect this as a disconnection and try to reconnect instead of just closing like before. This also has an impact on what is reported on Zoom meeting dashboard, such participant is then seen twice instead of once. Which version? 1.8.5 To Reproduce(If applicable) Just leave a meeting.

-Tommy

---

<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:** [January 29, 2021, 8:12am UTC](https://devforum.zoom.us/t/web-sdk-1-8-5-calling-error-callback-after-successful-join/39378/3 "2021-01-29T08:12:28Z")

</div>

Closed on January 29, 2021, 8:12am UTC

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