# Zoom web SDK -Invalid signature issue

**URL:** <https://devforum.zoom.us/t/zoom-web-sdk-invalid-signature-issue/85578>\
**Category:** API and Webhooks\
**Created:** [March 29, 2023, 8:34am UTC](https://devforum.zoom.us/t/zoom-web-sdk-invalid-signature-issue/85578 "2023-03-29T08:34:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![umesh.chandra](https://avatars.discourse-cdn.com/v4/letter/u/77aa72/32.png) [@umesh.chandra](https://devforum.zoom.us/u/umesh.chandra)\
**Post date:** [March 29, 2023, 8:34am UTC](https://devforum.zoom.us/t/zoom-web-sdk-invalid-signature-issue/85578/1 "2023-03-29T08:34:06Z")

</div>

Hi Team,  
I am getting issues **Signature is invalid.** while using the SDK web sample code.

Here is my payload

```auto
{
    sdkKey: process.env.ZOOM_SDK_KEY,
    mn: req.body.meetingNumber,
    role: 1,
    iat: iat,
    exp: exp,
    appKey: process.env.ZOOM_SDK_KEY,
    tokenExp: iat + 60 * 60 * 2
  }

```

if I pass role = 0 then its working fine but if pass role=1 then i am getting the issue.  
Could anyone can help me?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 17, 2023, 7:55pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-invalid-signature-issue/85578/2 "2023-04-17T19:55:31Z")

</div>

Hi @umesh.chandra  
Thanks for reaching out to the Zoom Developer Forum and welcome to our community, I am happy to help here!

Here’s a super helpful guide to Troubleshoot the meeting sdk signature validation

> [@Troubleshooting Meeting SDK signature validation](https://devforum.zoom.us/t/troubleshooting-meeting-sdk-signature-validation/85961):
>
> In this guide, we’ll cover common issues you may run into when generating a signature for the Zoom Meeting SDK. The Zoom Meeting SDK uses a JSON Web Token (JWT) signature to authorize the SDK and validate your client’s requests to start or join a meeting. Documentation on this is available here: [Meeting SDK Authorization](https://developers.zoom.us/docs/meeting-sdk/auth/). We also have a sample signature application which can be used as a good starting point: [Sample Meeting SDK Signature App - Node JS](https://github.com/zoom/meetingsdk-sample-signature-node.js) If the signature provided is invalid, the…

Hope this helps!  
Elisa

---

<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:** [April 20, 2024, 11:32am UTC](https://devforum.zoom.us/t/zoom-web-sdk-invalid-signature-issue/85578/3 "2024-04-20T11:32:21Z")

</div>

Closed on April 20, 2024, 11:32am UTC

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