# Try integrate web sdk

**URL:** <https://devforum.zoom.us/t/try-integrate-web-sdk/8700>\
**Category:** Web\
**Created:** [March 16, 2020, 9:07am UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700 "2020-03-16T09:07:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rendyerasoft](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rendyerasoft](https://devforum.zoom.us/u/rendyerasoft)\
**Post date:** [March 16, 2020, 9:07am UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/1 "2020-03-16T09:07:14Z")

</div>

i dont know why failed when join meeting,  
i already set the key and secret key the app work but failed join the meeting

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/98b01be7904c199f7f3a6f77b3b780a528632949.png)

pls help 🙂

---

<div class="post-metadata">

**Author:** ![chetan](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chetan](https://devforum.zoom.us/u/chetan)\
**Post date:** [March 16, 2020, 2:38pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/2 "2020-03-16T14:38:11Z")

</div>

I am also having same issue joining as host and non-host from Mac’s Chrome through Web SDK. Works fine with Windows and other Macs. I am using version 1.7.2

Details -

```
MacBook Pro (Retina, 13-inch, Early 2015)
10.14.6
Google Chrome is up to date
Version 80.0.3987.132 (Official Build) (64-bit)
```

---

<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 16, 2020, 8:40pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/3 "2020-03-16T20:40:23Z")

</div>

Hey @chetan, @rendyerasoft,

Please share your meeting ID, and code snippet for joining the Web SDK to [developersupport@zoom.us](mailto:developersupport@zoom.us).

Also, make sure you are using [JWT App Credentials](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![chetan](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chetan](https://devforum.zoom.us/u/chetan)\
**Post date:** [March 17, 2020, 2:41pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/4 "2020-03-17T14:41:05Z")

</div>

The following code works with all computers I have tested so far except  
MacBook Pro (Retina, 13-inch, Early 2015)  
10.14.6  
Google Chrome is up to date  
Version 80.0.3987.132 (Official Build) (64-bit)

```
(function(){

    ZoomMtg.preLoadWasm();

    ZoomMtg.prepareJssdk();
    const API_KEY = 'HIDDEN';
    const API_SECRET = 'HIDDEN';
    $('#zmmtg-root').hide();

    document.getElementById('join_meeting').addEventListener('click', function(e){
        e.preventDefault();
        $('#welcome_message').hide();
        $('#zmmtg-root').show();

        var meetConfig = {
            apiKey: API_KEY,
            apiSecret: API_SECRET,
            meetingNumber: "",
            userName: "Participant",
            passWord: "",
            leaveUrl: "mockurl",
            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: 'mockurl',
            isSupportAV: true,
            audioPanelAlwaysOpen: false,
            screenShare: false,
            showMeetingHeader: true,
            disableInvite: true,
            success: function () {

                ZoomMtg.join(
                    {
                        meetingNumber: meetConfig.meetingNumber,
                        userName: meetConfig.userName,
                        signature: signature,
                        apiKey: meetConfig.apiKey,
                        userEmail: 'test@test.com',
                        passWord: meetConfig.passWord,
                        success: function(res){
                            $('#welcome_message').hide();
                            $('#wc-footer').hide();
                            $('#zmmtg-root').show();
                            setTimeout(function() {
                                // ZoomMtg.record({
                                // record: true
                                // });
                            }, 5000);
                            console.log('join meeting success');
                        },
                        error: function(res) {
                            console.log(res);
                        }
                    }
                );
            },
            error: function(res) {
                console.log(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:** [March 17, 2020, 6:36pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/5 "2020-03-17T18:36:13Z")

</div>

Hey @chetan,

It should work on MacBook Pro (Retina, 13-inch, Early 2015).

Are you seeing any errors in the browser console? What specifically is the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![chetan](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chetan](https://devforum.zoom.us/u/chetan)\
**Post date:** [March 17, 2020, 9:32pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/6 "2020-03-17T21:32:15Z")

</div>

Hi Tommy,

 ![Screen Shot 2020-03-17 at 5.28.11 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5ec49c25a292300f3cf0c5b6a6ef0577e0c1cf23.png)

This is console log from the Mac. Also, adding network activity.

 ![Screen Shot 2020-03-17 at 5.28.38 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/d44cd7dcb321a0745d9b6e34ce2a5d37ca55020d.png)

Thank you,  
Chetan

---

<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 17, 2020, 9:34pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/7 "2020-03-17T21:34:12Z")

</div>

Hey @chetan,

I believe this is an issue with your signature, or the Macs time settings. Can you please send me your signature to [developersupport@zoom.us](mailto:developersupport@zoom.us) so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![chetan](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chetan](https://devforum.zoom.us/u/chetan)\
**Post date:** [March 18, 2020, 6:32pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/8 "2020-03-18T18:32:25Z")

</div>

Hi Tommy,

The Macs time settings is right. Following is the signature -

Thank you,  
Chetan

---

<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:** [March 18, 2020, 10:47pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/9 "2020-03-18T22:47:44Z")

</div>

Hi @chetan/@rendyerasoft,

Just tested the code you sent, it worked for me when I input my own meeting ID.  
I tried to input an incorrect meeting ID or a non existing one and got the same error.  
Can you try a different meeting ID that you’ve had used before within your account and see if that works?

Thanks  
Michael

---

<div class="post-metadata">

**Author:** ![chetan](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chetan](https://devforum.zoom.us/u/chetan)\
**Post date:** [March 18, 2020, 11:59pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/10 "2020-03-18T23:59:07Z")

</div>

Hi Michael, the same meeting ID worked with several other machines. Also, I tried with different meeting IDs, and still, it is giving the same error. If you look at network activity, it does not make any HTTP call before giving that error.

---

<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:** [March 19, 2020, 4:35pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/11 "2020-03-19T16:35:58Z")

</div>

Hi @chetan,

Looks like there might be a network issue that is causing some files to not load on that particular machine. I noticed that within your console that you have a couple of **Violation** messages as well.  
We’ll continue to test to see if we can reproduce this error and follow up with you shortly.

 ![Screen Shot 2020-03-19 at 9.30.15 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/39c495074d57146304d42ddd89268b7e118ca57c.png)  
 ![Screen Shot 2020-03-19 at 9.30.24 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/77a82d40ba52155cd8b7b059f60a69dc94277fc1.png)

---

<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, 7:31pm UTC](https://devforum.zoom.us/t/try-integrate-web-sdk/8700/13 "2020-08-21T19:31:53Z")

</div>

Closed on August 21, 2020, 7:31pm UTC


