# 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:** 1

<div class="post-metadata">

**Author:** ![chee](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@chee](https://devforum.zoom.us/u/chee)\
**Post date:** [April 23, 2019, 1:35am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/1 "2019-04-23T01:35:44Z")

</div>

Hi guys,

Hopefully it’s the right place. I’m getting the following error regarding an ‘Invalid Signature’:

{  
method: “join”,  
status: false, errorCode: 1,  
errorMessage: “Invalid signature.”,  
result: null  
}

I had cloned [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web) and followed the instructions to npm install and npm start after setting in the code to my JWT key and secret from the develop page.

Anyone has any ideas or suggestions so for me to get this working?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [April 24, 2019, 3:53am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/2 "2019-04-24T03:53:34Z")

</div>

Hi @chee,

We have received this request, and I will be responding to it soon.

Thanks

---

<div class="post-metadata">

**Author:** ![chee](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@chee](https://devforum.zoom.us/u/chee)\
**Post date:** [April 29, 2019, 5:52am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/3 "2019-04-29T05:52:50Z")

</div>

Hi @ojus.zoom,

It has been a while. Any ideas yet? Thanks.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [April 30, 2019, 1:11am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/4 "2019-04-30T01:11:55Z")

</div>

Hi,

Apologies for the delayed response.

Does your meeting ID contain any `-` ? If yes, I would recommend removing it and trying again.

Please let me know if that doesn’t resolve your issue.

Thanks

---

<div class="post-metadata">

**Author:** ![chee](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@chee](https://devforum.zoom.us/u/chee)\
**Post date:** [April 30, 2019, 2:19am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/5 "2019-04-30T02:19:27Z")

</div>

Hi @ojus.zoom,

That’s ok.

There are no - just a string and number for the fields name and meeting number.

Here’s a screenshot:

 ![57%20pm](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/14b97aca50a491f51f9150fe54a1f5b200428742.png)

To be sure I’ve done the following:  
I’ve copy paste both the key and secret and made sure i had no pre or trailing whitespaces  
I’ve tried again just to be sure and I am still receiving the same error about an invalid signature. This happens for both CDN and Local version of the code.  
I’m using version version 1.3.8 of [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)

Could the issue be due to date used for the signature generation?

Hope to hear from you soon. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![15610065105](https://avatars.discourse-cdn.com/v4/letter/1/cdc98d/32.png) [@15610065105](https://devforum.zoom.us/u/15610065105)\
**Post date:** [May 5, 2019, 7:04am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/6 "2019-05-05T07:04:36Z")

</div>

Have you solved this problem? I met the same problem.

---

<div class="post-metadata">

**Author:** ![15610065105](https://avatars.discourse-cdn.com/v4/letter/1/cdc98d/32.png) [@15610065105](https://devforum.zoom.us/u/15610065105)\
**Post date:** [May 5, 2019, 7:23am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/7 "2019-05-05T07:23:12Z")

</div>

@ojus.zoom Hi, I met the same problem. This is my code:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/9a4526cdb862bbc78ac879ffe06656e346ce2a96.png)  
So, I think maybe the example is wrong.

---

<div class="post-metadata">

**Author:** ![chee](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@chee](https://devforum.zoom.us/u/chee)\
**Post date:** [May 6, 2019, 1:32am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/8 "2019-05-06T01:32:07Z")

</div>

Nope, haven’t solved the problem. I’ve read else where it might be the date used for the signature generation . . .Might be worth exploring. Good luck!

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [May 6, 2019, 11:35pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/9 "2019-05-06T23:35:12Z")

</div>

Hi @chee,

What is the meeting number that you are using?

Thanks

---

<div class="post-metadata">

**Author:** ![chee](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@chee](https://devforum.zoom.us/u/chee)\
**Post date:** [May 7, 2019, 12:15am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/10 "2019-05-07T00:15:14Z")

</div>

Hi @michael_p.zoom,

It’s 123. I’ve tried other combinations of numbers before but I would still receive the same error.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [May 7, 2019, 3:09pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/11 "2019-05-07T15:09:20Z")

</div>

Hi @chee,

You will need to input an actual Zoom meeting number. Please create a meeting within your Zoom account then use that meeting number within the Web SDK.

Thanks

---

<div class="post-metadata">

**Author:** ![chee](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@chee](https://devforum.zoom.us/u/chee)\
**Post date:** [May 8, 2019, 12:13am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/12 "2019-05-08T00:13:35Z")

</div>

Thanks Michael for pointing it out. It works.

epic face palm moment.

Is there a way for me to close this or mark as resolved?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [May 8, 2019, 4:49am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/13 "2019-05-08T04:49:35Z")

</div>

Hi @chee,

No worries, we’re glad that you’re able to get it working. No need to close it out.

Let us know if you have anymore questions.

Thanks

---

<div class="post-metadata">

**Author:** ![peter.tysoe](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter.tysoe/32/1784_2.png) [@peter.tysoe](https://devforum.zoom.us/u/peter.tysoe)\
**Post date:** [September 11, 2019, 5:04pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/14 "2019-09-11T17:04:33Z")

</div>

At the risk of another person having a face palm moment…  
I am having the **same issue**.  
sample/CDN code (tried Local too) with index.js var API\_KEY var API\_SECRET set/checked  
No code errors  
running on https:// webserver same domain as app credentials/ my user account (also tried on localhost with ssl)  
Client running on MAC Chrome 77  
Second device Windows running on a different zoom account room open using PID, no password on room

I have tried PID with/without - separators, same result “Joining meeting timeout.”  
console log below:  
checkSystemRequirements  
zoom-meeting-1.5.1.min.js:2 Zoom support you browser. Chrome/77.0.3865.75  
zoom-meeting-1.5.1.min.js:2 You browser support below features  
index.js:4 {“browserInfo”:“Chrome/77.0.3865.75”,“browserName”:“Chrome”,“browserVersion”:“77.0.3865.75”,“features”:[“viewSharing”,“screenShare”,“computerAudio”,“computerVideo”,“callIn”,“callOut”,“chat”]}  
index.js:51  
index.js:72 {method: “join”, status: false, errorCode: 1, errorMessage: “Invalid signature.”, result: null}

Any thoughts?  
Please

---

<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:** [September 11, 2019, 5:28pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/15 "2019-09-11T17:28:36Z")

</div>

Hey @peter.tysoe, thanks for reaching out and using Zoom!

Are you using the JWT App Type Credentials for the API\_KEY and API\_SECRET?

 ![20%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/334747904f41870baea16357c6cb2d015745cd73.png)

Also you must have at least a [Pro Zoom account](https://zoom.us/pricing) to use the SDK which could be the reason you are seeing that error. If you would like a free trial for development / testing purposes we can request that for you.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![peter.tysoe](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter.tysoe/32/1784_2.png) [@peter.tysoe](https://devforum.zoom.us/u/peter.tysoe)\
**Post date:** [September 11, 2019, 7:34pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/16 "2019-09-11T19:34:10Z")

</div>

Thanks for the quick reply… using JWT created in zoom/developer build app  
[https://marketplace.zoom.us/develop/apps/xxxxxREMOVEDxxx/credentials](https://marketplace.zoom.us/develop/apps/xxxxxREMOVEDxxx/credentials) is that wrong?

I have also upgraded my plan.  
P

---

<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:** [September 11, 2019, 7:46pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/17 "2019-09-11T19:46:54Z")

</div>

Hey @peter.tysoe,

Happy to help! Perfect you are using JWT 🙂

Are you still getting the error after upgrading your plan? Also double check your JWT app is activated.

 ![56%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/0/0bc1a27808b50fb7f3fb1aa3ba1e683354c4f955.png)

If that is still not working, can you send me the code you are using to generate your signature? Should look something like this

> <https://github.com/zoom/sample-app-web/blob/master/CDN/js/index.js#L45>

Or this,

> **[Generate Signature - Tutorial - Web SDK - Native SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/tutorial/generate-signature)**
>
> Generate Signature
> 
> 
> 
> Below are code snippets to generate a signature using backend services.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![peter.tysoe](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter.tysoe/32/1784_2.png) [@peter.tysoe](https://devforum.zoom.us/u/peter.tysoe)\
**Post date:** [September 12, 2019, 4:43pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/18 "2019-09-12T16:43:49Z")

</div>

Hi Tommy code is as per your GIT

With my JWK … I am trying too connect to an open meeting PID209-601-8837 on a separate (free account) note I didn’t request passwords but I notice a lock symbol on the iPad next to the PID

Fail: Timeout (but instant)

Help appreciated.

P

 ![ZoomKey.png](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f3884ee0670850dd87df6b10662bf3c48460ba99.png)

---

<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:** [September 12, 2019, 5:01pm UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/19 "2019-09-12T17:01:26Z")

</div>

Hey @peter.tysoe,

Those credentials are [SDK Credentials](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-sdk-app).

You **must** create a [JWT app](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) in order to use the Web SDK.

 ![39%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8c774378fdd319d7e932239f7810e00e87f0ba2a.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![szliuxi199908](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/szliuxi199908/32/2266_2.png) [@szliuxi199908](https://devforum.zoom.us/u/szliuxi199908)\
**Post date:** [November 5, 2019, 8:20am UTC](https://devforum.zoom.us/t/invalid-signature-with-sample-web-app/4005/20 "2019-11-05T08:20:47Z")

</div>

Hi,

I encountered the same “invalid signature” problem even when I set up a Zoom meeting and used the actual meeting ID without “-”. I followed the guidelines and did not change the javascript code except for replacing “Your API Key and Secret” with my actual ones. Here is the screenshot.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f6b27d2cf2c4c93cfadec93ce2f924d08ebe7b1c.png)

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