# Invalid Signature with Sample Web App

**URL:** <https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005>\
**Category:** Web\
**Created:** [April 23, 2019, 1:35am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005 "2019-04-23T01:35:44Z")\
**Posts on this page:** 20\
**Page:** 5

<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:** [October 1, 2020, 8:52pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/81 "2020-10-01T20:52:21Z")

</div>

Thanks @ashutosh, we will be with you shortly! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![inter1](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@inter1](https://devforum.zoom.us/u/inter1)\
**Post date:** [October 6, 2020, 1:31pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/82 "2020-10-06T13:31:30Z")

</div>

![WhatsApp Image 2020-10-06 at 6.54.54 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/e/ce7fe5b71967c2b5a145e1d0280bfa93c883f6cb.jpeg)  
We are getting signature invalid error.

this is mysignature:

---

<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:** [October 7, 2020, 10:39pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/83 "2020-10-07T22:39:56Z")

</div>

Hey @inter1,

Your signature looks correct. How are you generating it? Can you please share your code?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![inter1](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@inter1](https://devforum.zoom.us/u/inter1)\
**Post date:** [October 19, 2020, 10:29am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/84 "2020-10-19T10:29:39Z")

</div>

Hey Tommy,  
We have resolved our signature issue but now we are facing a problem with video quality  
details: We are using VPS hosting for our zoom web SDK Specially and using JWT tokens for integration. We are using zoom web SDK 1.8.1  
please help me out on video quality  
Thank you

---

<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:** [October 20, 2020, 7:49pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/85 "2020-10-20T19:49:23Z")

</div>

Hey @inter1,

Happy to hear you resolved the signature issue! 🙂

For your audio issue, please create a new topic so we can gather additional details and track the issue easier. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![chandanbhandari24](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chandanbhandari24/32/17742_2.png) [@chandanbhandari24](https://devforum.zoom.us/u/chandanbhandari24)\
**Post date:** [October 26, 2020, 6:04pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/86 "2020-10-26T18:04:03Z")

</div>

I am seeing an invalid signature error.  
Here is my signature :

Here is the code I am using to generate signature:  
const timestamp = new Date().getTime() - 30000  
const msg = Buffer.from(API\_KEY + meetingNumber + timestamp + role).toString(‘base64’)  
const hash = crypto.createHmac(‘sha256’, API\_SECRET).update(msg).digest(‘base64’)  
const signature = Buffer.from(`${API_KEY}.${meetingNumber}.${timestamp}.${role}.${hash}`).toString(‘base64’)

---

<div class="post-metadata">

**Author:** ![volodymirchudovskiy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/volodymirchudovskiy/32/17797_2.png) [@volodymirchudovskiy](https://devforum.zoom.us/u/volodymirchudovskiy)\
**Post date:** [October 27, 2020, 10:04am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/87 "2020-10-27T10:04:04Z")

</div>

Hi. I am seeing an invalid signature error.  
My signature is:

Role is: 0  
MeetingId is:  
Code to generate signature:  
var signature = ZoomMtg.generateSignature({  
meetingNumber: meetingConfig.mn,  
apiKey: “”,  
apiSecret: “my\_api\_secret\_string”,  
role: meetingConfig.role,  
success: function (res) {  
console.log(res.result);  
meetingConfig.signature = res.result;  
meetingConfig.apiKey = “”;  
var joinUrl = “/meeting.html?” + testTool.serialize(meetingConfig);  
console.log(joinUrl);  
window.open(joinUrl, “\_blank”);  
},  
});

Can you help me please?

---

<div class="post-metadata">

**Author:** ![volodymirchudovskiy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/volodymirchudovskiy/32/17797_2.png) [@volodymirchudovskiy](https://devforum.zoom.us/u/volodymirchudovskiy)\
**Post date:** [October 29, 2020, 12:49pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/88 "2020-10-29T12:49:33Z")

</div>

Hi @inter1  
I see that you had the same issue with generation of signature.  
As I understand you have solved it. Could you please prompt me how to fix it?

---

<div class="post-metadata">

**Author:** ![inter1](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@inter1](https://devforum.zoom.us/u/inter1)\
**Post date:** [October 29, 2020, 1:21pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/89 "2020-10-29T13:21:53Z")

</div>

Hi @volodymirchudovskiy

We have send our API key and secret dynamically

Thank you

---

<div class="post-metadata">

**Author:** ![volodymirchudovskiy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/volodymirchudovskiy/32/17797_2.png) [@volodymirchudovskiy](https://devforum.zoom.us/u/volodymirchudovskiy)\
**Post date:** [October 29, 2020, 2:08pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/90 "2020-10-29T14:08:45Z")

</div>

Thank you, will try today.  
Have a good day.

---

<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:** [October 30, 2020, 8:27pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/91 "2020-10-30T20:27:46Z")

</div>

Hey @inter1, @volodymirchudovskiy,

Please let us know if you are still having issues. 🙂

Thanks,  
Tommy

---

<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:** [October 30, 2020, 8:32pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/92 "2020-10-30T20:32:16Z")

</div>

Hey @chandanbhandari24, @volodymirchudovskiy,

You are using an SDK App type to generate your signature. Please use your **JWT App** key and secret instead. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![yoshitsugu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yoshitsugu/32/19379_2.png) [@yoshitsugu](https://devforum.zoom.us/u/yoshitsugu)\
**Post date:** [November 27, 2020, 2:37am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/93 "2020-11-27T02:37:42Z")

</div>

Hi @tommy  
I also faced Invalid Signature error in sample-app-web and find this page.  
Why I need to use JWT App key instead of SDK App key?  
What is the difference and how to choose JWT/SDK for my app?

---

<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:** [November 30, 2020, 10:45pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/94 "2020-11-30T22:45:39Z")

</div>

Hey @yoshitsugu,

To use the Web SDK, you must use a JWT App. That is how the Web SDK is designed.

Are you still seeing issues after using a [JWT App](https://marketplace.zoom.us/docs/guides/build/jwt-app)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ARTT](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/artt/32/20622_2.png) [@ARTT](https://devforum.zoom.us/u/ARTT)\
**Post date:** [December 25, 2020, 10:46am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/95 "2020-12-25T10:46:10Z")

</div>

Signature:

Error: Signature is invalid

---

<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:** [December 28, 2020, 5:58pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/96 "2020-12-28T17:58:01Z")

</div>

Hey @ARTT,

Please create a new topic here: #client-web-sdk and fill out the post template so we have more information about the issue. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![d\_a\_d](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@d\_a\_d](https://devforum.zoom.us/u/d_a_d)\
**Post date:** [January 6, 2021, 10:25pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/98 "2021-01-06T22:25:46Z")

</div>

I am getting an “signature invalid” error. Error code 3712, for signature:

using web-client-sdk CDN  
I am using the react: sample-app-web/CDN

---

<div class="post-metadata">

**Author:** ![d\_a\_d](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@d\_a\_d](https://devforum.zoom.us/u/d_a_d)\
**Post date:** [January 7, 2021, 2:32pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/99 "2021-01-07T14:32:52Z")

</div>

issue solved. thanks.

---

<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:** [January 8, 2021, 5:53pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/100 "2021-01-08T17:53:39Z")

</div>

Happy to hear you sorted out the issue @d_a_d ! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![iamvenom95](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/iamvenom95/32/21525_2.png) [@iamvenom95](https://devforum.zoom.us/u/iamvenom95)\
**Post date:** [January 15, 2021, 5:09am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/101 "2021-01-15T05:09:54Z")

</div>

Hi everyone

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/a/2a8e14f0821a3c3bb8b292461d85384ec1d4ed06.png)  
I’m facing an invalid signature error. Please help me out!!

[Previous page](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005.md?page=4)

[Next page](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005.md?page=6)
