# Trying to embed Zoom meeting in website

**URL:** <https://devforum.zoom.us/t/trying-to-embed-zoom-meeting-in-website/69700>\
**Category:** API and Webhooks\
**Created:** [May 30, 2022, 9:45am UTC](https://devforum.zoom.us/t/trying-to-embed-zoom-meeting-in-website/69700 "2022-05-30T09:45:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andymoses](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@andymoses](https://devforum.zoom.us/u/andymoses)\
**Post date:** [May 30, 2022, 9:45am UTC](https://devforum.zoom.us/t/trying-to-embed-zoom-meeting-in-website/69700/1 "2022-05-30T09:45:26Z")

</div>

**Error**  
Fail to join the meeting.  
Signature is invalid.  
Error code 3712

**Description**  
I want to embed a Zoom meeting on a website. Using Laravel & React. Installed @zoomus/websdk/embedded from npm.  
I’ve setup an account on the App Marketplace and created a JWT & SDK to get the API key/secret & SDK.  
I’ve used the php code in [Generate Signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/signature) to create & pass the signature into the react file (code below, payload is the signature from the php)

But when trying the front end I get a popup message saying the signature is invalid.  
Not sure what I’m doing wrong.

The SDK & password below are not actually what I have in my code  
const client = ZoomMtgEmbedded.createClient()  
const meetingSDKElement = document.getElementById(‘meetingSDKElement’)

const initZoom = payload =\> {  
console.log(payload)  
client  
.init({  
debug: true,  
zoomAppRoot: meetingSDKElement,  
language: ‘en-US’,  
customize: {  
meetingInfo: [  
‘topic’,  
‘host’,  
‘mn’,  
‘pwd’,  
‘telPwd’,  
‘invite’,  
‘participant’,  
‘dc’,  
‘enctype’,  
],  
toolbar: {  
buttons: [  
{  
text: ‘Custom Button’,  
className: ‘CustomButton’,  
onClick: () =\> {  
// eslint-disable-next-line no-console  
console.log(‘custom button’)  
},  
},  
],  
},  
},  
})  
.then(response =\> {  
// eslint-disable-next-line no-console  
client.join({  
sdkKey: '[Redacted],  
signature: payload, // role in SDK Signature needs to be 0  
meetingNumber: meetingNumber,  
password: [Redacted],  
userName: ‘userName’,  
userEmail: ‘user@example.com’,  
})  
})  
}

---

<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 3, 2022, 11:49am UTC](https://devforum.zoom.us/t/trying-to-embed-zoom-meeting-in-website/69700/2 "2022-06-03T11:49:27Z")

</div>

Hi, @andymoses,

Welcome and thank you for posting in the Developer Forum. As a test, can you share if you are seeing the Fail to join the meeting: Signature is invalid error when you use the sample signature app? Perhaps the Signature is not being generated correctly.

> **[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...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 3, 2022, 9:49pm UTC](https://devforum.zoom.us/t/trying-to-embed-zoom-meeting-in-website/69700/3 "2022-07-03T21:49:45Z")

</div>

Closed on July 3, 2022, 9:49pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
