# "Joining fail" Error message, please help!

**URL:** <https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181>\
**Category:** Web\
**Created:** [February 21, 2020, 10:24am UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181 "2020-02-21T10:24:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nick1/32/3218_2.png) [@nick1](https://devforum.zoom.us/u/nick1)\
**Post date:** [February 21, 2020, 10:24am UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/1 "2020-02-21T10:24:13Z")

</div>

HI

I can’t seem to be able to join the meetings scheduled from my paid account, when i  
insert the ID meeting on the “meetings\_required” field, it gives me the ‘joining fail’ message.

**Error**  
when i input the meeting number from my paid account on the lading page it gives me a dialog box with the message ‘joining fail’

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Its an API call from my lading page , i am assuming it could be JWT

**Screenshots (If applicable)**  
Please see the screenshot attached , thanks

 ![Untitled picture](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/4e49bc348bf30639749ae05bdef7ae9b5ac99df4.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:** [February 21, 2020, 5:12pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/2 "2020-02-21T17:12:43Z")

</div>

Hey @nick1,

Can you share the error in the browser console so we can debug?

Also be sure to use [JWT App Credentials](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) for the API Key and Secret.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nick1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nick1/32/3218_2.png) [@nick1](https://devforum.zoom.us/u/nick1)\
**Post date:** [February 21, 2020, 5:14pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/3 "2020-02-21T17:14:38Z")

</div>

Hey T

Yes i can if you can be so kind advice how?

Yes that is what i am using, from JWT

Thanks,  
Nick

---

<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 21, 2020, 6:01pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/4 "2020-02-21T18:01:48Z")

</div>

Hey @nick1,

Here is how you view the console:

> **[How to open the developer console](https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console)**
>
> The developer console is a tool which logs the information associated with a web page, such as JavaScript, network requests, and security errors. (It does other things, too, but this is all that re...

There should be a more descriptive error message.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rafayelyanarthur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rafayelyanarthur/32/4669_2.png) [@rafayelyanarthur](https://devforum.zoom.us/u/rafayelyanarthur)\
**Post date:** [April 1, 2020, 8:14pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/5 "2020-04-01T20:14:40Z")

</div>

Hi  
I have the same problem  
joining fail

I am trying to join a real meeting but always get joining fail  
I am using JWT App Credentials

this is my index.js

(function(){

```
console.log('checkSystemRequirements');
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

// it's option if you want to change the WebSDK dependency link resources. setZoomJSLib must be run at first
// if (!china) ZoomMtg.setZoomJSLib('https://source.zoom.us/1.7.2/lib', '/av'); // CDN version default
// else ZoomMtg.setZoomJSLib('https://jssdk.zoomus.cn/1.7.2/lib', '/av'); // china cdn option 
// ZoomMtg.setZoomJSLib('http://localhost:9999/node_modules/@zoomus/websdk/dist/lib', '/av'); // Local version default, Angular Project change to use cdn version
ZoomMtg.preLoadWasm();

ZoomMtg.prepareJssdk();

var API_KEY = 'API_KEY ';

/**
 * NEVER PUT YOUR ACTUAL API SECRET IN CLIENT SIDE CODE, THIS IS JUST FOR QUICK PROTOTYPING
 * The below generateSignature should be done server side as not to expose your api secret in public
 * You can find an eaxmple in here: https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature
 */
var API_SECRET = 'API_SECRET ';

document.getElementById('join_meeting').addEventListener('click', function(e){
    e.preventDefault();

    if(!this.form.checkValidity()){
        alert("Enter Name and Meeting Number");
        return false;
    }

    var meetConfig = {
        apiKey: API_KEY,
        apiSecret: API_SECRET,
        meetingNumber: parseInt(document.getElementById('meeting_number').value),
        userName: document.getElementById('display_name').value,
        passWord: "",
        leaveUrl: "https://zoom.us",
        role: 0
    };

    var signature = ZoomMtg.generateSignature({
        meetingNumber: meetConfig.meetingNumber,
        apiKey: meetConfig.apiKey,
        apiSecret: meetConfig.apiSecret,
        role: meetConfig.role,
        success: function(res){
            console.log(res.result);
            ZoomMtg.init({
                leaveUrl: 'http://www.zoom.us',
                isSupportAV: true,
                success: function () {
                    ZoomMtg.join(
                        {

                            meetingNumber: meetConfig.meetingNumber,
                            userName: meetConfig.userName,
                            signature: signature,
                            apiKey: meetConfig.apiKey,
                            userEmail: 'test@gmail.com',
                            passWord: meetConfig.passWord,
                            success: function(res){
                                $('#nav-tool').hide();
                                console.log('join meeting success');
                            },
                            error: function(res) {
                                console.log(res);
                            }
                        }
                    );
                },
                error: function(res) {
                    console.log(res);
                }
            });
        }
    });

});

```

})();

And also I want to host a meeting in my app not only join, does I need a pro version for that?  
thanks

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 1, 2020, 8:38pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/6 "2020-04-01T20:38:03Z")

</div>

Hi @rafayelyanarthur,

To start a meeting as a host change the role from 0 to 1. Also, when you try to join a meeting make sure to take out the dashes when entering the meeting.  
Meeting ID 123-45-678 -\> 12345678

If you’re still seeing the error can you post a screenshot of what the console shows in the developer tools?

Thanks

---

<div class="post-metadata">

**Author:** ![rafayelyanarthur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rafayelyanarthur/32/4669_2.png) [@rafayelyanarthur](https://devforum.zoom.us/u/rafayelyanarthur)\
**Post date:** [April 2, 2020, 5:14am UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/7 "2020-04-02T05:14:41Z")

</div>

![2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8e0e773da123f8278faa3a63ffe581bfe2db412c.jpeg)

for now, I am trying to connect to a meeting and role is 0

---

<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 2, 2020, 5:39am UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/8 "2020-04-02T05:39:31Z")

</div>

Hey @rafayelyanarthur,

Please also make sure you are using a [JWT App type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) for the API key and secret.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![rafayelyanarthur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rafayelyanarthur/32/4669_2.png) [@rafayelyanarthur](https://devforum.zoom.us/u/rafayelyanarthur)\
**Post date:** [April 2, 2020, 6:05am UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/9 "2020-04-02T06:05:52Z")

</div>

Hi @tommy  
I am using JWT App Type

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 2, 2020, 6:29pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/10 "2020-04-02T18:29:33Z")

</div>

Hi @rafayelyanarthur,

Looks like you need to close the ZoomMtg.generateSignature method. Right now you have the Zoom.init method called after the success.

```
/* Start of function */
var signature = ZoomMtg.generateSignature({
            meetingNumber: meetConfig.meetingNumber,
            apiKey: meetConfig.apiKey,
            apiSecret: meetConfig.apiSecret,
            role: meetConfig.role,
            success: function(res){
                console.log(res.result);
            }
        });
/* End of function */

```

Then call the ZoomMtg.init function separately.

Let us know if this works.

Thanks

---

<div class="post-metadata">

**Author:** ![rafayelyanarthur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rafayelyanarthur/32/4669_2.png) [@rafayelyanarthur](https://devforum.zoom.us/u/rafayelyanarthur)\
**Post date:** [April 2, 2020, 7:13pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/11 "2020-04-02T19:13:27Z")

</div>

@michael_p.zoom thanks it works for me.  
And another one question  
how I can create a meeting  
I know that I need to set role 1  
what else I need to do ?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 2, 2020, 8:02pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/12 "2020-04-02T20:02:57Z")

</div>

Hi @rafayelyanarthur,

You can only create a meeting using our REST APIs[1]. For setting the role, that is only needed if you need to host a meeting “role 1” or join a meeting as an attendee “role 2”.

1 - [https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)

Thanks

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:15pm UTC](https://devforum.zoom.us/t/joining-fail-error-message-please-help/8181/13 "2020-08-21T20:15:34Z")

</div>

Closed on August 21, 2020, 8:15pm UTC


