# Testing "sample web App" . Fail to join the meeting

**URL:** <https://devforum.zoom.us/t/testing-sample-web-app-fail-to-join-the-meeting/70162>\
**Category:** Meeting SDK\
**Tags:** webinar\
**Created:** [June 8, 2022, 10:21am UTC](https://devforum.zoom.us/t/testing-sample-web-app-fail-to-join-the-meeting/70162 "2022-06-08T10:21:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wbenftima](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@wbenftima](https://devforum.zoom.us/u/wbenftima)\
**Post date:** [June 8, 2022, 10:21am UTC](https://devforum.zoom.us/t/testing-sample-web-app-fail-to-join-the-meeting/70162/1 "2022-06-08T10:21:01Z")

</div>

Hi, 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](https://github.com/zoom/sample-app-web)**  
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

```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:** [December 23, 2022, 11:42am UTC](https://devforum.zoom.us/t/testing-sample-web-app-fail-to-join-the-meeting/70162/2 "2022-12-23T11:42:25Z")

</div>

@wbenftima,

Welcome to the Developer Forum! If you are looking to get started with our Sample Meeting SDK, you will want to create SDK type Marketplace app and you can use the Zoom Meeting SDK Sample Signature Node.js for Signature generation.

> **[GitHub - zoom/meetingsdk-sample-signature-node.js: Generate a signature to...](https://github.com/zoom/meetingsdk-sample-signature-node.js)**
>
> Generate a signature to Start and Join Meetings and Webinars with the Zoom Meeting SDKs. - GitHub - zoom/meetingsdk-sample-signature-node.js: Generate a signature to Start and Join Meetings and Web...
