# Signature is invalid, zoom webSDK v2.11.0, using SDK APP

**URL:** <https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623>\
**Category:** Meeting SDK\
**Tags:** sdk\
**Created:** [May 18, 2023, 12:42pm UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623 "2023-05-18T12:42:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [May 18, 2023, 12:42pm UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/1 "2023-05-18T12:42:41Z")

</div>

**Description**  
_I’m using WebMeetingSDK v2.11.0 and generating signature and passing SDK ClientId and Client Secret to generate signature getting issue - ''Signature is invalid._

**Error?**  
_errorCode:3712  
errorMessage:“Signature is invalid.”  
method: “join”  
result:“Invalid signature.”  
status: false._

I’m haveing - zoomus/websdk": “^2.11.0”

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/a/ea355ba6abe1e056323bb53b49128b126f5576ae.png)

---

<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 19, 2023, 3:10am UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/2 "2023-05-19T03:10:00Z")

</div>

can you share your generated JWT token?

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [May 19, 2023, 7:45am UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/3 "2023-05-19T07:45:35Z")

</div>

1. Below signature is crated by using method **“generateSDKSignature”** , but getting error, **Signature is invalid.**

“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJTUWF5MjBUaGVjOUJUMWZKaDN4USIsImlhdCI6MTY4NDQ4MTU4MCwiZXhwIjoxNjg0NDg4NzgwLCJtbiI6IjM0MDk1NDM5NDgiLCJyb2xlIjoiMSJ9.unsf1JA0T6zu1g6eTLRP\_DMvE8LWBiIi2I5cZ321Smo”

1. Below signature is crated by using method **“.Net C# method”** , but getting error, **The signature has expired.** , Reference URL: **Referred Link:** [https://developers.zoom.us/docs/meeting-sdk/auth/](https://developers.zoom.us/docs/meeting-sdk/auth/)

“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJTUWF5MjBUaGVjOUJUMWZKaDN4USIsImFwcEtleSI6IlNRYXkyMFRoZWM5QlQxZkpoM3hRIiwibW4iOiIzNDA5NTQzOTQ4Iiwicm9sZSI6MSwiaWF0IjoxNjg0NDgyMjA2LCJleHAiOjE2ODQ2NTUwMDYsInRva2VuRXhwIjoxNjg0NjU1MDA2fQ.BIr5OsZWaYGiOqeLuRunsy96H4s4U2ttnosIScpBpA8”

---

<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 19, 2023, 8:04am UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/4 "2023-05-19T08:04:58Z")

</div>

> [@vishwajeetbhosale](#):
>
> yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJTUWF5MjBUaGVjOUJUMWZKaDN4USIsImlhdCI6MTY4NDQ4MTU4MCwiZXhwIjoxNjg0NDg4NzgwLCJtbiI6IjM0MDk1NDM5NDgiLCJyb2xlIjoiMSJ9.unsf1JA0T6zu1g6eTLRP\_DMvE8LWBiIi2I5cZ321Smo”

Hi @vishwajeetbhosale ,

Important: make sure your role is entered as integer instead of string  
“role”: “1”  
“role”: 1 ← do this instead

Another thing which might be good practice, but might not affect the validity of the JWT token  
include `tokenExp` as well.

Let me know if it works (using integer for role instead of string)

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [May 19, 2023, 8:16am UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/5 "2023-05-19T08:16:00Z")

</div>

@chunsiong.tan

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

Role is in string format for ZoomMtg.generateSDKSignature(), so not able to add as number/integer.

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [May 19, 2023, 10:52am UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/6 "2023-05-19T10:52:39Z")

</div>

@chunsiong.zoom

Below image is for second signature, using the integer value as role

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

---

<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 19, 2023, 11:12am UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/7 "2023-05-19T11:12:13Z")

</div>

Did it work for you?

---

<div class="post-metadata">

**Author:** ![vishwajeetbhosale](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@vishwajeetbhosale](https://devforum.zoom.us/u/vishwajeetbhosale)\
**Post date:** [May 19, 2023, 11:21am UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/8 "2023-05-19T11:21:57Z")

</div>

@chunsiong.tan  
Not at all worked, Can you check this ASAP deprecation is also there

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [May 19, 2023, 6:00pm UTC](https://devforum.zoom.us/t/signature-is-invalid-zoom-websdk-v2-11-0-using-sdk-app/88623/9 "2023-05-19T18:00:27Z")

</div>

perhaps the similar problem - error “3712” can also mean “signature **not yet** valid”

> [@Error creating signature in Prod](https://devforum.zoom.us/t/error-creating-signature-in-prod/88686):
>
> Hi, I’m having trouble implementing zoomMeeting in production. I created a new app in the Marketplace SDK which provides me with a Client ID and the Key Secret. Both replace them with the sdkKey and ApiKey. The fact is that locally and on my test server it works perfectly and I can join the meeting. But once I have it on my production server it gives me an error that the signature appears. I’m using version 2.11.5 currently, I’ve tried all the others and it also works less in production. I ha…

and the same solution

- “iat” should be 30 seconds in the past
