# Stuck on Joining Meeting pre-loader screen

**URL:** <https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776>\
**Category:** Web\
**Created:** [January 17, 2021, 6:52am UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776 "2021-01-17T06:52:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranav](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pranav](https://devforum.zoom.us/u/pranav)\
**Post date:** [January 17, 2021, 6:52am UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/1 "2021-01-17T06:52:13Z")

</div>

**Description**  
Zoom Client SDK hangs on the “Joining Meeting” loading screen when calling the ZoomMtg.init() function. I’m trying to join a meeting using the client SDK without logging in.

**Error**  
Attached is the screenshot of the screen stuck on the loader and an TypeError in the console on the right.

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

**Which version?**  
Version 1.8.5

**To Reproduce(If applicable)**  
I’m working with the client SDK on a simple HTML5 page.  
I’ve made the repository publicly accessible here - [Pranav Shikarpur / zoom-client-sdk-error · GitLab](https://gitlab.com/snpranav/zoom-client-sdk-error)

1. Clone the git repo
2. Replace the meetingNumber in the index.js file.
3. View the files by running a static server.

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

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

- Device: Laptop
- OS: Ubuntu 20.04 LTS
- Browser: Brave Browser (Chromium based)

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [January 17, 2021, 9:44am UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/2 "2021-01-17T09:44:29Z")

</div>

Could you please post a screenshot of your join meeting code? Please redact any API keys or meeting IDs.

---

<div class="post-metadata">

**Author:** ![pranav](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pranav](https://devforum.zoom.us/u/pranav)\
**Post date:** [January 17, 2021, 2:43pm UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/3 "2021-01-17T14:43:11Z")

</div>

Thanks for the response @alexmayo  
Please find the index.js file that contains the join meeting code below:

```auto
ZoomMtg.setZoomJSLib('https://source.zoom.us/1.8.5/lib', '/av');

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

const zoomMeeting = document.getElementById("zmmtg-root");

ZoomMtg.init({
    leaveUrl: "https://example.com/return_url",
    success: () => {
        ZoomMtg.join({
            meetingNumber: "XXXXXXXXXX",
            userName: "test"
        })
    },
    error: function (res) {
        console.log(res);
    },
})

```

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [January 19, 2021, 8:23am UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/4 "2021-01-19T08:23:36Z")

</div>

Hi @pranav,

You’re missing some required fields here.

Please see [ZoomMtg - Documentation](https://zoom.github.io/sample-app-web/ZoomMtg.html#join) for the list of required fields.

Here’s an example of what you should include in the `join()`method.

```
ZoomMtg.join({
    meetingNumber: 123456789,
    userName: 'User name',
    userEmail: '',
    passWord: '',
    apiKey: 'API_KEY',
    signature: 'SIGNATURE',
    success: function(res){
        console.log(res)
    },
    error: function(res){
        console.log(res)
    }
 });

```

Hopefully this helps.

Thanks,  
Alex

---

<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:** [January 20, 2021, 5:03pm UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/5 "2021-01-20T17:03:21Z")

</div>

Thanks for posting the solution @alexmayo ! 🙂

@pranav , like mentioned by @alexmayo , you need to include the required fields in the ZoomMtg.join function.

Let me know if that helps!

-Tommy

---

<div class="post-metadata">

**Author:** ![pranav](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pranav](https://devforum.zoom.us/u/pranav)\
**Post date:** [February 2, 2021, 3:30pm UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/6 "2021-02-02T15:30:18Z")

</div>

Hi,  
Thank you for your responses @tommy and @alexmayo. I did take a look at the required fields.  
Why are the API key and signature fields required? I’m trying to **anonymously** join a zoom meeting using the SDK for a meeting that has already been started by another user.

Can I join the Zoom meeting without an API key and signature using the `ZoomMtg.join()` method?

---

<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:** [February 3, 2021, 8:44pm UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/7 "2021-02-03T20:44:10Z")

</div>

Hey @pranav ,

You must supply the required values for the ZoomMtg.join() function to work. 🙂

> **[Join Meeting - Meetings - Build an App - Web - Client SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/meetings/join#launch)**
>
> Join a Meeting
> 
> Meetings are joined in the Web SDK using the ZoomMtg.init() method to launch the SDK, then the ZoomMtg.join() to join the user into the ...

Thanks,  
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:** [March 6, 2021, 6:44am UTC](https://devforum.zoom.us/t/stuck-on-joining-meeting-pre-loader-screen/40776/8 "2021-03-06T06:44:17Z")

</div>

Closed on March 6, 2021, 6:44am UTC

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