# Invalid parameter with Web SDK 1.7.7

**URL:** <https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169>\
**Category:** Web\
**Created:** [May 18, 2020, 4:15pm UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169 "2020-05-18T16:15:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anthony/32/8557_2.png) [@anthony](https://devforum.zoom.us/u/anthony)\
**Post date:** [May 18, 2020, 4:15pm UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/1 "2020-05-18T16:15:38Z")

</div>

I am getting an “Invalid parameter” error.

 ![invalid](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/b2e74ce6a12b2ce803e84faa00afc73acdd890bb.png)

 ![signature](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/599b3cafeafb24899b9521d5d2c328fabac08ce1.png)

I followed all the steps from here:

> **[Start & Join Meeting/Webinar - Essential Guides - Web - Native SDKs -...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/start-join-meeting)**
>
> Start & Join Meeting / Webinar
> 
> ZoomMtg.init()
> 
> Meetings and Webinars are created in the Web SDK using the ZoomMtg.init() method.
> 
> ZoomMtg.join()
> 
> Once ...

and read most of the thread in this forum but been stuck here for days.

```ruby
import { ZoomMtg } from '@zoomus/websdk';

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

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

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

const meetConfig = {
  apiKey: "my_api_key",
  leaveUrl: "https://someurl.com",
  userName: "Some Name",
  meetingNumber: "0123456789",
  passWord: "somepassword",
  role: 0,
};

function getSignature(meetConfig) {
  fetch(`https://someendpoint.herokuapp.com`, {
    method: 'POST',
    body: JSON.stringify({ meetingData: meetConfig })
  })
  .then(result => result.text())
  .then(
    response => {
      ZoomMtg.init({
        leaveUrl: meetConfig.leaveUrl,
        isSupportAV: true,
        success: function () {
          ZoomMtg.join(
            {
              signature: response,
              apiKey: meetConfig.apiKey,
              meetingNumber: meetConfig.meetingNumber,
              userName: meetConfig.userName,
              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);
        }
      });
    })
}

getSignature(meetConfig);

```

I have a pro account and used JWT App API and API SECRET for the sample web heroku app from here:

> **[Generate Signature - Essential Guides - Web - Native SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature)**
>
> Generate Signature
> 
> Each request to Start or Join a Meeting / Webinar must be verified by an encrypted signature authorizing the user to enter.
> 
> The sig...

Any help is appreciated, working with ZOOM API has been a nightmare for me…

---

<div class="post-metadata">

**Author:** ![arul.kapoor](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@arul.kapoor](https://devforum.zoom.us/u/arul.kapoor)\
**Post date:** [May 21, 2020, 2:37am UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/2 "2020-05-21T02:37:53Z")

</div>

^ I am having the same issue

---

<div class="post-metadata">

**Author:** ![sajarora](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@sajarora](https://devforum.zoom.us/u/sajarora)\
**Post date:** [May 21, 2020, 8:47pm UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/3 "2020-05-21T20:47:09Z")

</div>

Exact same issue, been trying to get a hold of someone on Zoom side is so hard.

---

<div class="post-metadata">

**Author:** ![kadriko06](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@kadriko06](https://devforum.zoom.us/u/kadriko06)\
**Post date:** [May 22, 2020, 11:43am UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/4 "2020-05-22T11:43:28Z")

</div>

i’m getting intermittently different errors… and sometimes it works… ☹

---

<div class="post-metadata">

**Author:** ![kadriko06](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@kadriko06](https://devforum.zoom.us/u/kadriko06)\
**Post date:** [May 29, 2020, 12:53pm UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/5 "2020-05-29T12:53:49Z")

</div>

Could anybody describe how to get the signature from my heroku app? What do I have to change in Sample App’s index.js? I’ve been trying to understand this for a week already 🙂 I have my heroku ready. But in index.js I have only input my KEY and SECRET… but I suppose I’d have to use something more secure like heroku. Basically… I’m not sure how to do the POST request. I’d appreciate if anyone could give me a working example (of index.js signature generation code) 🙂

---

<div class="post-metadata">

**Author:** ![karthik.rt](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@karthik.rt](https://devforum.zoom.us/u/karthik.rt)\
**Post date:** [June 1, 2020, 7:36am UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/6 "2020-06-01T07:36:37Z")

</div>

I found this in the reference document  
https://marketplace.zoom.us/docs/sdk/native-sdks/web/reference

ZoomMtg.join({  
meetingNumber: 123456789,  
userName: ‘User name’,  
userEmail: ‘’,  
passWord: ‘’,  
apiKey: ‘API\_KEY’,  
signature: ‘SIGNATURE’,  
participantId: ‘UUID’, _adding the participantId : ‘’ solved the issue for me._  
success: 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:** [June 5, 2020, 12:13am UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/7 "2020-06-05T00:13:49Z")

</div>

Hey @anthony, @kadriko06, @sajarora, @arul.kapoor,

Sorry to hear you have had trouble with the Zoom API. Can you please try passing the meeting ID as a number and not a string?

Thanks,  
Tommy

---

<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, 9:53pm UTC](https://devforum.zoom.us/t/invalid-parameter-with-web-sdk-1-7-7/18169/8 "2020-08-21T21:53:02Z")

</div>


