# Fail to join the meeting (ZOOM-SDK)

**URL:** <https://devforum.zoom.us/t/fail-to-join-the-meeting-zoom-sdk/70354>\
**Category:** Meeting SDK\
**Created:** [June 11, 2022, 10:03am UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-zoom-sdk/70354 "2022-06-11T10:03:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AditiyaPandey](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aditiyapandey/32/32208_2.png) [@AditiyaPandey](https://devforum.zoom.us/u/AditiyaPandey)\
**Post date:** [June 11, 2022, 10:03am UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-zoom-sdk/70354/1 "2022-06-11T10:03:36Z")

</div>

I’m new to Zoom. What I’m trying to do is to integrate zoom meeting into my ReactJS app.  
First of all, I tried to use the zoom sample web app to check how it works. So I cloned this project from

**GitHub - zoom/sample-app-web: Zoom Meeting SDK for Web Sample App**

following the readme instruction I created a new app in the marketplace.zoom to get needed credentials API\_\_key API\_secrect also, I used this function to create a new signature

```auto
function generateSignature(apiKey, apiSecret, meetingNumber, role) {
  // Prevent time sync issue between client signature generation and Zoom
  const timestamp = new Date().getTime() - 30000
  const msg = Buffer.from(apiKey + meetingNumber + timestamp + role).toString('base64')
  const hash = crypto.createHmac('sha256', apiSecret).update(msg).digest('base64')
  const signature = Buffer.from(apiKey, meetingNumber, timestamp, role, hash).toString('base64')
  return signature
}

```

but when I tried to join a meeting I got this error[.](https://www.tommypetportugal.com/)

```auto
{
"type": "JOIN_MEETING_FAILED",
"reason": "Fail to join the meeting.",
"errorCode": 200
}

```

**Can you please help me out?**

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [June 16, 2022, 8:47pm UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-zoom-sdk/70354/2 "2022-06-16T20:47:05Z")

</div>

Welcome, @AditiyaPandey,

Happy to help. We have a React sample application you can reference in your implementation. All you are to do to get started is follow the Readme instructions the:

> **[GitHub - zoom/meetingsdk-react-sample: Use the Zoom Meeting SDK in a React App](https://github.com/zoom/meetingsdk-react-sample)**
>
> Use the Zoom Meeting SDK in a React App. Contribute to zoom/meetingsdk-react-sample development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![webinarinc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/webinarinc/32/38540_2.png) [@webinarinc](https://devforum.zoom.us/u/webinarinc)\
**Post date:** [June 17, 2022, 4:57am UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-zoom-sdk/70354/3 "2022-06-17T04:57:55Z")

</div>

hi im having same issue

i used JWT API, JWT Secret key, meeting and role = 0 for signature generation  
and used SDK api key for sdkKey to run client.join

but having “failed to join meeting - signature is invalid” error msg

i would like to ask if SDK app must be activated to make it work? or it is ok if its just draft? and just having other bugs related

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [June 28, 2022, 1:25am UTC](https://devforum.zoom.us/t/fail-to-join-the-meeting-zoom-sdk/70354/4 "2022-06-28T01:25:09Z")

</div>

@webinarinc,

Welcome and thank you for posting – happy to help! Please share a code snippet of how you are generating the signature?
