# Getting Error- The meeting number is wrong. for web SDK 1.7.9

**URL:** <https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724>\
**Category:** Web\
**Created:** [June 30, 2020, 6:11am UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724 "2020-06-30T06:11:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![samadhan.madane31](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/samadhan.madane31/32/5466_2.png) [@samadhan.madane31](https://devforum.zoom.us/u/samadhan.madane31)\
**Post date:** [June 30, 2020, 6:11am UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/1 "2020-06-30T06:11:55Z")

</div>

**Description**  
I’m trying to integrate zoom video in react web app.  
Using react-hooks feature here.

For getting signature -

- created a free zoom developer account
- created a JWT app to get the api\_key and api\_secret
- deploy the signature sample app to a free Heroku instance

**Error**  
I am getting error - The meeting number is wrong . while launching the zoom meeting

**Which version?**  
“react”: “^16.13.1”,  
“@zoomus/websdk”: “^1.7.9”,

**Screenshots**

 ![getting-the-meeting-number-wrong-error](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/3d8635c2c9a3bcc68191984413e1264efd40655d.png)

**System Info:**

- Device: Lenovo-L450
- OS: Ubuntu 16.04
- Browser:Chrome

Zoom component code:  
`
import React, { useEffect, useState } from ‘react’;
import { Grid, Card } from ‘@material-ui/core’;
import { ZoomMtg } from ‘@zoomus/websdk’;
import ‘@zoomus/websdk/dist/css/bootstrap.css’;
import ‘@zoomus/websdk/dist/css/react-select.css’;`

`
const meetConfig = {
apiKey: API_KEY,
apiSecret: API_SECRET,
meetingNumber: ‘meeting-id’,
userEmail: ‘some-email-id’,
userName: ‘some-username’,
passWord: ‘some-password’,
leaveUrl: ‘http://localhost:3000’,
role: 0,
};
const ZoomComponent = () => {
const [meetingLaunched, setMeetingLaunched] = useState(false);
const joinZoomMeeting = () => {
setMeetingLaunched(!meetingLaunched);
fetch(‘https://zoom-signature-app.herokuapp.com/’, {
method: ‘POST’,
body: JSON.stringify({ meetingData: meetConfig }),
})
.then((result) => result.text())
.then(
(response) => {
ZoomMtg.init({
leaveUrl: meetConfig.leaveUrl,
isSupportAV: true,
success() {
ZoomMtg.join(
{
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
signature: JSON.parse(response).signature,
apiKey: meetConfig.apiKey,
userEmail: meetConfig.userEmail,
passWord: meetConfig.passWord,
success() {
console.log(‘join meeting success’);
},
error(res1) {
console.log(res1);
},
},
);
},
error(res2) {
console.log(res2);
},
});
},
);
};
useEffect(() => {
ZoomMtg.setZoomJSLib(‘node_modules/@zoomus/websdk/dist/lib’, ‘/av’);
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
joinZoomMeeting();
}, );
return (

`
`

);
};
export default ZoomComponent;
`

---

<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:** [July 1, 2020, 6:16pm UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/2 "2020-07-01T18:16:14Z")

</div>

Hey @samadhan.madane31,

Can you share your meeting signature to [developersupport@zoom.us](mailto:developersupport@zoom.us) so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![samadhan.madane31](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/samadhan.madane31/32/5466_2.png) [@samadhan.madane31](https://devforum.zoom.us/u/samadhan.madane31)\
**Post date:** [July 2, 2020, 4:40am UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/3 "2020-07-02T04:40:47Z")

</div>

Hi @tommy ,  
I was generating the signature by deploying the signature sample app to a free Heroku instance.  
I was following this link - [/docs/sdk/native-sdks/web/essential/signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature#simple-signature-setup)

Here is the generated signature,  
{  
“signature”: “”  
}

I tried another approach to generate the signature using **ZoomMtg.generateSignature**

ZoomMtg.generateSignature({  
meetingNumber: meetConfig.meetingNumber,  
apiKey: meetConfig.apiKey,  
apiSecret: meetConfig.apiSecret,  
role: meetConfig.role,  
success(res) {  
console.log(‘signature’, res.result);  
ZoomMtg.init({  
leaveUrl: meetConfig.leaveUrl,  
success() {  
…

With this second approach, I’m able to join the meeting and everything works as expected. I’m using the same apiKey and apiSecret.  
Is the second approach is right one?  
Could you please guide/recommend me with your thoughts for right approach?

---

<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:** [July 2, 2020, 9:13pm UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/4 "2020-07-02T21:13:29Z")

</div>

Hey @samadhan.madane31,

After [decoding your signature](https://www.base64decode.org/), it looks like you are passing in `123456789` as the meeting number.

Please use a real meeting number. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![xwang](https://avatars.discourse-cdn.com/v4/letter/x/ac8455/32.png) [@xwang](https://devforum.zoom.us/u/xwang)\
**Post date:** [July 10, 2020, 4:45pm UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/5 "2020-07-10T16:45:50Z")

</div>

Hi, I followed the same steps and got the same ‘The meeting number is wrong’ error. I console logged the meeting number before running the fetch command to make sure it was my personal meeting id. I have tried starting the meeting using Zoom client first then join via sdk. I also tried changing my meeting setting to allow join before host and disabled waiting room. Nothing worked.

---

<div class="post-metadata">

**Author:** ![nhat.nguyen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nhat.nguyen/32/11790_2.png) [@nhat.nguyen](https://devforum.zoom.us/u/nhat.nguyen)\
**Post date:** [July 12, 2020, 4:34pm UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/6 "2020-07-12T16:34:34Z")

</div>

I got same problem.

meeting: “\*\*\*\*\*\*\*\*\*\*\*”

signature:

Pls help!!!

\*This post has been edited to remove any meeting / webinar IDs

---

<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:** [July 14, 2020, 10:12pm UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/7 "2020-07-14T22:12:02Z")

</div>

Hey @xwang, @nhat.nguyen,

Both of you are setting the meeting number as `undefined` when [generating the signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature).

[Base64decode](https://www.base64decode.org/) your signature to help debug the issue.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![xwang](https://avatars.discourse-cdn.com/v4/letter/x/ac8455/32.png) [@xwang](https://devforum.zoom.us/u/xwang)\
**Post date:** [July 15, 2020, 5:16am UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/8 "2020-07-15T05:16:02Z")

</div>

@tommy Thanks for your reply!  
@nhat.nguyen In case you made the same mistake, I had to change the body of the fetch request to:

body: JSON.stringify({  
meetingNumber: meetConfig.meetingNumber,  
role: meetConfig.role  
})

instead of  
body: JSON.stringify({ meetingData: meetConfig })

---

<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:** [July 16, 2020, 7:24pm UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/9 "2020-07-16T19:24:09Z")

</div>

Thanks for sharing your solution! 🙂

-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, 10:44pm UTC](https://devforum.zoom.us/t/getting-error-the-meeting-number-is-wrong-for-web-sdk-1-7-9/22724/10 "2020-08-21T22:44:11Z")

</div>

Closed on August 21, 2020, 10:44pm UTC


