# Invalid parameter - webSDK 1.7.6

**URL:** <https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070>\
**Category:** Web\
**Created:** [April 20, 2020, 3:31pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070 "2020-04-20T15:31:52Z")\
**Posts on this page:** 20\
**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:** [April 20, 2020, 3:31pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/1 "2020-04-20T15:31:52Z")

</div>

Hi Guys

Please see below attached error image and assist, i have been upgrading the SDK from 1.7.4 with no success , now i am on 1.7.6 and its still giving me a problem, this is getting very tedious now guys

 ![error image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/90ec95113720b9f5e0ad0efd62578d3ef4f57592.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:** [April 21, 2020, 10:06am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/2 "2020-04-21T10:06:50Z")

</div>

Hey @nick1,

Can you share your init and join functions so I can debug? Please fill out the full post template so we can assist faster.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![jude.niroshan11](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jude.niroshan11/32/6632_2.png) [@jude.niroshan11](https://devforum.zoom.us/u/jude.niroshan11)\
**Post date:** [April 21, 2020, 12:13pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/3 "2020-04-21T12:13:22Z")

</div>

Hi @tommy,

I have the same error. I just cloned [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web) into my laptop and tried to connect to an ongoing live meeting.

I still have a free plan.

I have created oAuth/JWT/SDK client apps in zoom. Then provided the SDK clientID and secret in this cloned repository. I cannot join to my meeting. Here is the init() from index.js file under CDN subproject.

```
ZoomMtg.init({
            leaveUrl: 'http://www.zoom.us',
            isSupportAV: true,
            success: function () {
                ZoomMtg.join(
                    {
                        meetingNumber: meetConfig.meetingNumber,
                        userName: meetConfig.userName,
                        signature: signature,
                        apiKey: meetConfig.apiKey,
                        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);
            }
        });

```

This is what I see on my browser console:

`{method: "join", status: false, result: null, errorMessage: "Api key length error, must 22", errorCode: 4003}`

Best regards,  
Jude

---

<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 21, 2020, 6:10pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/4 "2020-04-21T18:10:15Z")

</div>

Hi @nick1 @jude.niroshan11 ,

We are working on a fix for this right now, we should have the fix deployed within the next 24-48 hours.

---

<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:** [April 23, 2020, 10:35am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/5 "2020-04-23T10:35:31Z")

</div>

all seems to be working now, its about time 😀

thanks guys

:’( seems like i spoke to soon, it was working properly then it just sort of bombed out on me without any errors

is everything ok with you guys ?

---

<div class="post-metadata">

**Author:** ![dorairajs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dorairajs/32/6387_2.png) [@dorairajs](https://devforum.zoom.us/u/dorairajs)\
**Post date:** [April 23, 2020, 1:57pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/7 "2020-04-23T13:57:45Z")

</div>

Hey @nick1 Did you change anything to make it work?

Thanks.

---

<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:** [April 23, 2020, 3:26pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/8 "2020-04-23T15:26:00Z")

</div>

hy @dorairajs seems like i got too excited and spoke too soon :’(

it worked for a couple of testing times both on local and [https://zoombackend.herokuapp.com](https://zoombackend.herokuapp.com) but now it just well literally black

please guys @michael_p.zoom @tommy

---

<div class="post-metadata">

**Author:** ![trevorgreenleaf](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/trevorgreenleaf/32/6049_2.png) [@trevorgreenleaf](https://devforum.zoom.us/u/trevorgreenleaf)\
**Post date:** [April 23, 2020, 6:19pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/9 "2020-04-23T18:19:00Z")

</div>

Has this been fixed?

---

<div class="post-metadata">

**Author:** ![wizard\_files3](https://avatars.discourse-cdn.com/v4/letter/w/a587f6/32.png) [@wizard\_files3](https://devforum.zoom.us/u/wizard_files3)\
**Post date:** [April 23, 2020, 8:02pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/10 "2020-04-23T20:02:46Z")

</div>

I am getting same “Invalid Parameter” error when trying to join the meeting with MeetingId and Password via a sample app provided in SDK.  
Can Zoom please update this thread if this is fixed?

---

<div class="post-metadata">

**Author:** ![wizard\_files3](https://avatars.discourse-cdn.com/v4/letter/w/a587f6/32.png) [@wizard\_files3](https://devforum.zoom.us/u/wizard_files3)\
**Post date:** [April 23, 2020, 8:05pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/11 "2020-04-23T20:05:51Z")

</div>

Michael, can you please update this thread when it is fixed? Thanks.

---

<div class="post-metadata">

**Author:** ![garry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/garry/32/6893_2.png) [@garry](https://devforum.zoom.us/u/garry)\
**Post date:** [April 24, 2020, 5:48am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/12 "2020-04-24T05:48:27Z")

</div>

I just installed the SDK following the process described at [https://marketplace.zoom.us/docs/sdk/native-sdks/web](https://marketplace.zoom.us/docs/sdk/native-sdks/web)  
I also get the error: “Api key length error, must 22”  
This looks like it was written by someone who does not speak English well and was written when your API key character limit was 22 characters.  
My API Key is 36 characters in length.  
Here is an image of my debugger showing the error in your code:

 ![zoom-api-key-length-error](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a1f78a02a876600af937713cbb659302f4bedb07.jpeg)  
I know a fix was promised a few days ago, but this looks like an old bug.  
Time until fix?

Kind Regards, Garry.

---

<div class="post-metadata">

**Author:** ![garry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/garry/32/6893_2.png) [@garry](https://devforum.zoom.us/u/garry)\
**Post date:** [April 24, 2020, 6:06am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/13 "2020-04-24T06:06:03Z")

</div>

By the way, your CDN version of this sample does also not work but is throwing this error:

browser console log:  
sockjs.js:1606 GET [http://localhost:9999/sockjs-node/info?t=1587708040981](http://localhost:9999/sockjs-node/info?t=1587708040981) net::ERR\_CONNECTION\_REFUSED

node.js:  
[2020-04-24T06:03:20.294Z] “GET /sockjs-node/info?t=1587708199986” Error (404): “Not found”

---

<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 25, 2020, 12:10am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/14 "2020-04-25T00:10:33Z")

</div>

Hey @garry, @wizard_files3, @trevorgreenleaf, @nick1, @dorairajs,

The invalid parameter issue will be fixed in the upcoming 1.7.7 release this weekend.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dorairajs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dorairajs/32/6387_2.png) [@dorairajs](https://devforum.zoom.us/u/dorairajs)\
**Post date:** [April 25, 2020, 3:19am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/15 "2020-04-25T03:19:55Z")

</div>

Thank you for the response @tommy.

In my case, the error was because I was using SDK credentials instead of JWT credentials.

It worked like a charm after using my JWT credentials.

> WebSDK uses JWT credentials as mentioned in the link below.

[https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate](https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate)

---

<div class="post-metadata">

**Author:** ![Cristian](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cristian/32/6823_2.png) [@Cristian](https://devforum.zoom.us/u/Cristian)\
**Post date:** [April 27, 2020, 2:16pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/16 "2020-04-27T14:16:27Z")

</div>

@dorairajs  
You know I love you so much?

Thanks for the tip!

---

<div class="post-metadata">

**Author:** ![chris.addams](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chris.addams/32/7125_2.png) [@chris.addams](https://devforum.zoom.us/u/chris.addams)\
**Post date:** [April 27, 2020, 8:51pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/17 "2020-04-27T20:51:17Z")

</div>

Awesome! this worked 👍

---

<div class="post-metadata">

**Author:** ![SimoneLabianca](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SimoneLabianca](https://devforum.zoom.us/u/SimoneLabianca)\
**Post date:** [April 28, 2020, 2:13am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/18 "2020-04-28T02:13:35Z")

</div>

Hey all … I’m getting an even weirder error.

participantId length \> 16

![Screen Shot 2020-04-28 at 12.08.17 pm](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/3256c62e52cc88d5190c44ae4327d867eceb643a.png)

I’m using the same user id as always (yesterday it worked fine) … although if I remove it altogether it works and the meeting starts. Does that mean that it is using the **userEmail** as the identifier of the user account and no longer the **participantId**

```
 ZoomMtg.init({
                        debug: false,
                        leaveUrl: 'https://zoom.us',
                        disableInvite: true,
                        showMeetingHeader: false,
                        isLockBottom: false,
                        isShowJoiningErrorDialog: false,
                        success: function(res){
                            ZoomMtg.join({
                                meetingNumber: that.meetingNumber,
                                userName: userDetails.firstName,
                                userEmail: userDetails.email,
                                passWord: that.meetingPassword,
                                apiKey: that.apiKey,
                                signature: that.meetingSignature,
                                participantId: userDetails.zoomID,
                                success: function(res){console.log(res)},
                                error: function(res){
                                    if(res.errorCode > 0){
                                        alert(res.errorMessage);
                                    }
                                    return false;
                                }
                            });
                        },
                        error: function(res){
                            console.log('some error');
                        }
                    });

```

Cheers …

---

<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 30, 2020, 9:16pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/19 "2020-04-30T21:16:35Z")

</div>

Hey @dorairajs,

Correct! 🙂 Thanks for sharing your solution!

Glad it is working for you now @Christian, @chris.addams🙂

-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:** [April 30, 2020, 9:17pm UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/20 "2020-04-30T21:17:01Z")

</div>

Hey @SimoneLabianca,

The participant ID should only be a few numbers in length. What are you using for the participant ID?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![SimoneLabianca](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@SimoneLabianca](https://devforum.zoom.us/u/SimoneLabianca)\
**Post date:** [May 1, 2020, 1:51am UTC](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070/21 "2020-05-01T01:51:35Z")

</div>

Hey @tommy … I was the using the Zoom User ID as the participant ID. Up until 1.7.4 it worked fine.

At this point, I am assuming the email address is enough of a unique identifier for the participant and an actual Zoom account is not necessary to participate in a meeting.

Cheers  
Simone

[Next page](https://devforum.zoom.us/t/invalid-parameter-websdk-1-7-6/14070.md?page=2)
