# Error: Signature is invalid

**URL:** <https://devforum.zoom.us/t/error-signature-is-invalid/109093>\
**Category:** Web\
**Created:** [May 2, 2024, 7:01am UTC](https://devforum.zoom.us/t/error-signature-is-invalid/109093 "2024-05-02T07:01:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukunddtridhyatech](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mukunddtridhyatech](https://devforum.zoom.us/u/mukunddtridhyatech)\
**Post date:** [May 2, 2024, 7:01am UTC](https://devforum.zoom.us/t/error-signature-is-invalid/109093/1 "2024-05-02T07:01:37Z")

</div>

Try to join zoom Meeting Using signature everytime it is throw error like below

{  
“method”: “join”,  
“status”: false,  
“result”: “Invalid signature.”,  
“errorCode”: 3712,  
“errorMessage”: “Signature is invalid.”  
}

step for creating signature using NodeJS  
Node version: 20  
jsrsasign: ^11.1.0

const getMsdkSignature = asyncHandler(async (req, res) =\> {  
// const iat = Math.round(new Date().getTime() / 1000) - 30;  
const iat = Math.floor(new Date().getTime() / 1000)  
const exp = iat + 60 \* 60 \* 2;  
const oHeader = { alg: “HS256”, typ: “JWT” };

const oPayload = {  
sdkKey: process.env.CLIENT\_ID,  
appKey: process.env.CLIENT\_ID,  
mn: req.body.meetingNumber,  
role: req.body.role,  
iat: iat,  
exp: exp,  
tokenExp: exp,  
};

const sHeader = JSON.stringify(oHeader);  
const sPayload = JSON.stringify(oPayload);

let signature = KJUR.jws.JWS.sign(  
“HS256”,  
sHeader,  
sPayload,  
process.env.CLIENT\_SECRET  
);

res.json({  
signature: signature,  
});  
});

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 3, 2024, 2:37am UTC](https://devforum.zoom.us/t/error-signature-is-invalid/109093/2 "2024-05-03T02:37:24Z")

</div>

@mukunddtridhyatech

do you have a sample of the token, and are the clientID and clientSecret from either

1. Meeting SDK App
2. General App (with Meeting SDK Option enabled)

For point 2, it is necessary to turn on the Meeting SDK Option.

---

<div class="post-metadata">

**Author:** ![mukunddtridhyatech](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mukunddtridhyatech](https://devforum.zoom.us/u/mukunddtridhyatech)\
**Post date:** [May 3, 2024, 4:09am UTC](https://devforum.zoom.us/t/error-signature-is-invalid/109093/3 "2024-05-03T04:09:01Z")

</div>

Can you provide me with proper steps on how to create **Meeting SDK App** , with a screenshot, I think I missed something while creating APP.

My Requirement

- I want to one react APP that is used for creating Zoom meetings, showing a Meeting List, and joining Meetings within my app.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 6, 2024, 7:10am UTC](https://devforum.zoom.us/t/error-signature-is-invalid/109093/4 "2024-05-06T07:10:38Z")

</div>

@mukunddtridhyatech

on [marketplace.zoom.us](http://marketplace.zoom.us), click on “create legacy app”

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/7/8708de63f0f322e22b460bc79367cb0586e81a85.png)

Then click on Meeting SDK

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/c/4c82dff9c2f24fa2b94947ee28b07e491c9cf147.png)

---

<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:** [June 7, 2024, 4:48pm UTC](https://devforum.zoom.us/t/error-signature-is-invalid/109093/6 "2024-06-07T16:48:03Z")

</div>

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