# JS errorMessage: "Invalid signature."

**URL:** <https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770>\
**Category:** Web\
**Created:** [March 28, 2019, 11:21am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770 "2019-03-28T11:21:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoine.thierry](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@antoine.thierry](https://devforum.zoom.us/u/antoine.thierry)\
**Post date:** [March 28, 2019, 11:21am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/1 "2019-03-28T11:21:20Z")

</div>

Hi

i’m trying to use the 1.3.8 JS viewer to build a “internal corporate TV” with zoom (that we already have)

i’m using the GitHub demo ([https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)) but

the signature made by some JS script is invalid for zoom server

what about ?

thanks for future answer !

antoine

---

<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:** [March 28, 2019, 4:46pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/2 "2019-03-28T16:46:43Z")

</div>

Hi @antoine.thierry,

Can you post the exact error that you see in the browser tools? Also do you have the API Key/secret entered in the index.js file?

Thanks

---

<div class="post-metadata">

**Author:** ![antoine.thierry](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@antoine.thierry](https://devforum.zoom.us/u/antoine.thierry)\
**Post date:** [March 28, 2019, 9:29pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/3 "2019-03-28T21:29:44Z")

</div>

Hi michael !

i found the answer a few hours ago

**reason : do not use “-” in the zoom meeting id’s**

it was not written where i go. i changed the JS implementation, then i debugged, then i find, then it works

thanks

antoine

---

<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:** [March 28, 2019, 11:28pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/4 "2019-03-28T23:28:22Z")

</div>

Glad that you were able to find the answer, we’ll update our documentation to include notes about not using the “-” for meeting IDs.

Thanks

---

<div class="post-metadata">

**Author:** ![j.amelsberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/j.amelsberg/32/11997_2.png) [@j.amelsberg](https://devforum.zoom.us/u/j.amelsberg)\
**Post date:** [July 16, 2020, 9:16am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/6 "2020-07-16T09:16:16Z")

</div>

Hi

I’m trying to use the 1.7.10 JS viewer (CDN version) ([https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)), but I get error “Signuture is invalid” when I enter real meeting number, example (\*\*\*\*\*\*\*\*\*\*\*, no password, no email, attendee ).

It would be great if you can help me with this.

thanks for future answer !

jan

\*This post has been edited to remove any meeting / webinar IDs

---

<div class="post-metadata">

**Author:** ![zmalik976](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zmalik976/32/12076_2.png) [@zmalik976](https://devforum.zoom.us/u/zmalik976)\
**Post date:** [July 17, 2020, 11:10am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/7 "2020-07-17T11:10:39Z")

</div>

hi, how r u, i am having isseu, i used web sample app for client, and jwt api, but whn client uses its api, and my meeting number, it show invalid signature, but whn i use my meeting number it work? does one app connect to one meeting number?

---

<div class="post-metadata">

**Author:** ![j.amelsberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/j.amelsberg/32/11997_2.png) [@j.amelsberg](https://devforum.zoom.us/u/j.amelsberg)\
**Post date:** [July 20, 2020, 8:04am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/8 "2020-07-20T08:04:42Z")

</div>

hello, but we don’t include the “-” for meeting IDs, only numbers like “\*\*\*\*\*\*\*\*\*\*\*” and this don’t work here.

\*This post has been edited to remove any meeting / webinar IDs

---

<div class="post-metadata">

**Author:** ![zmalik976](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zmalik976/32/12076_2.png) [@zmalik976](https://devforum.zoom.us/u/zmalik976)\
**Post date:** [July 20, 2020, 2:47pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/9 "2020-07-20T14:47:53Z")

</div>

sorry didnt ger? i dont added - in id, and what dont work here? does zoom app api work for one email account?

---

<div class="post-metadata">

**Author:** ![j.amelsberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/j.amelsberg/32/11997_2.png) [@j.amelsberg](https://devforum.zoom.us/u/j.amelsberg)\
**Post date:** [July 20, 2020, 4:00pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/10 "2020-07-20T16:00:39Z")

</div>

yes, this don’t work (ID without slashes) and we tried it for two email accounts.

---

<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:** [July 22, 2020, 9:07pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/11 "2020-07-22T21:07:48Z")

</div>

Hey @j.amelsberg, @zmalik976,

Please share your [Web SDK signatures](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature) to [developersupport@zoom.us](mailto:developersupport@zoom.us) so I can debug the issue.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![j.amelsberg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/j.amelsberg/32/11997_2.png) [@j.amelsberg](https://devforum.zoom.us/u/j.amelsberg)\
**Post date:** [July 22, 2020, 10:03pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/12 "2020-07-22T22:03:10Z")

</div>

hello @tommy,

it works. I use SDK but put JWT settings in config. thank you!

---

<div class="post-metadata">

**Author:** ![zmalik976](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zmalik976/32/12076_2.png) [@zmalik976](https://devforum.zoom.us/u/zmalik976)\
**Post date:** [July 23, 2020, 12:33am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/13 "2020-07-23T00:33:30Z")

</div>

[signature redacted]

---

<div class="post-metadata">

**Author:** ![zhaowentao](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zhaowentao](https://devforum.zoom.us/u/zhaowentao)\
**Post date:** [July 24, 2020, 7:56am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/14 "2020-07-24T07:56:40Z")

</div>

Hi,I’m trying to use the Zoom Web SDK ( Local Install) (I use the exmple with right apiKey and apiSecret : [https://github.com/zoom/sample-app-web.git](https://github.com/zoom/sample-app-web.git)), but I get error “Signuture is invalid” when I enter real meeting number, example (meetingNumber: \*\*\*\*\*\*\*\*\*\*\*, passWord:, no email, attendee ). I don’t include the “-” for meeting IDs, only numbers.

\*This post has been edited to remove any meeting / webinar IDs

---

<div class="post-metadata">

**Author:** ![zhaowentao](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zhaowentao](https://devforum.zoom.us/u/zhaowentao)\
**Post date:** [July 24, 2020, 7:57am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/15 "2020-07-24T07:57:45Z")

</div>

Hey,I’m trying to use the Zoom Web SDK ( Local Install) (I use the exmple with right apiKey and apiSecret : [https://github.com/zoom/sample-app-web.git](https://github.com/zoom/sample-app-web.git)), but I get error “Signuture is invalid” when I enter real meeting number, example (meetingNumber: \*\*\*\*\*\*\*\*\*\*\*, passWord:, no email, attendee ). I don’t include the “-” for meeting IDs, only numbers.  
Thanks.

\*This post has been edited to remove any meeting / webinar IDs

---

<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:** [July 28, 2020, 12:06am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/16 "2020-07-28T00:06:09Z")

</div>

Happy to help! 🙂

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:** [July 28, 2020, 12:06am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/17 "2020-07-28T00:06:49Z")

</div>

Hey @zmalik976,

After [base 64 decoding](https://www.base64decode.org/) your signature, it looks like you are not setting the role when generating the signature.

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:** [July 28, 2020, 12:07am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/18 "2020-07-28T00:07:25Z")

</div>

Hey @zhaowentao,

What is the [Web SDK signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature) you are generating so I can debug it?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhaowentao](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@zhaowentao](https://devforum.zoom.us/u/zhaowentao)\
**Post date:** [July 28, 2020, 1:28am UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/19 "2020-07-28T01:28:44Z")

</div>

thanks, The problem has been solved。Because i missed the apiKey with the appKey. 😊

---

<div class="post-metadata">

**Author:** ![aitsidihammou.achraf](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aitsidihammou.achraf/32/12633_2.png) [@aitsidihammou.achraf](https://devforum.zoom.us/u/aitsidihammou.achraf)\
**Post date:** [July 28, 2020, 5:07pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/20 "2020-07-28T17:07:46Z")

</div>

Hi, I’ve also cloned the sample-app-web (CDN), added my API key and secret but I still get the “signature is invalid” error.

Here are more information:  
Meeting number: \*\*\*\*\*\*\*\*\*\*\*  
Meeting pwd:  
role: 0  
Signature:

Thanks

\*This post has been edited to remove any meeting / webinar IDs

---

<div class="post-metadata">

**Author:** ![aitsidihammou.achraf](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aitsidihammou.achraf/32/12633_2.png) [@aitsidihammou.achraf](https://devforum.zoom.us/u/aitsidihammou.achraf)\
**Post date:** [July 28, 2020, 6:01pm UTC](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770/21 "2020-07-28T18:01:19Z")

</div>

Sorry I’ve just found out that I need to use JWT Key and Secret to make it work.

[Next page](https://devforum.zoom.us/t/js-errormessage-invalid-signature/3770.md?page=2)
