# Zoom web sdk signature generation from c# backend

**URL:** <https://devforum.zoom.us/t/zoom-web-sdk-signature-generation-from-c-backend/86333>\
**Category:** Meeting SDK\
**Created:** [April 8, 2023, 7:24pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-signature-generation-from-c-backend/86333 "2023-04-08T19:24:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaviral](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vaviral/32/47371_2.png) [@vaviral](https://devforum.zoom.us/u/vaviral)\
**Post date:** [April 8, 2023, 7:24pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-signature-generation-from-c-backend/86333/1 "2023-04-08T19:24:08Z")

</div>

Hi,  
I was a sample for ‘Zoom meeting sdk signature generation on C#’ but could not find it anywhere.

I am getting ‘invalid sdk’ in response. Even though i am using correct set of key and secret.  
Please let me know how can i move forward

---

<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:** [April 10, 2023, 2:44am UTC](https://devforum.zoom.us/t/zoom-web-sdk-signature-generation-from-c-backend/86333/2 "2023-04-10T02:44:24Z")

</div>

could you share your generated jwt token here?

---

<div class="post-metadata">

**Author:** ![vaviral](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vaviral/32/47371_2.png) [@vaviral](https://devforum.zoom.us/u/vaviral)\
**Post date:** [April 10, 2023, 7:25pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-signature-generation-from-c-backend/86333/3 "2023-04-10T19:25:54Z")

</div>

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJNbEQ3UVdVVGVhRl9aTnNNRHBtUlEiLCJtbiI6ODQ3OTcxMDk5MjQsInJvbGUiOjAsImlhdCI6MTY4MTE1NDcwNywiZXhwIjoxNjgxMjQxMTE4LCJ0b2tlbkV4cCI6MTY4MTI0MTExOH0.6qB\_wWd-ZiInCVHZC0cHWtjvxKCwRGUyHKoCW45d20c

---

<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:** [April 11, 2023, 2:45am UTC](https://devforum.zoom.us/t/zoom-web-sdk-signature-generation-from-c-backend/86333/4 "2023-04-11T02:45:00Z")

</div>

The signature looks ok. Let’s troubleshoot slightly more, where did you get the SDK key from?

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

---

<div class="post-metadata">

**Author:** ![charles1237718](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@charles1237718](https://devforum.zoom.us/u/charles1237718)\
**Post date:** [April 11, 2023, 4:46pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-signature-generation-from-c-backend/86333/5 "2023-04-11T16:46:30Z")

</div>

> [@vaviral](#):
>
> I was a sample for ‘Zoom meeting sdk signature generation on C#’ but could not find it anywhere.
> 
> I am getting ‘invalid sdk’ in response. Even though i am using correct set of key and secret.  
> Please let me know how can i move forward

First, make sure that you have followed the steps for generating the signature correctly. Here are the steps to generate a signature for the Zoom meeting SDK in C#:

1. Generate a UNIX timestamp for the current time (in milliseconds).
2. Concatenate the API Key, API Secret, and timestamp into a single string in the following format: API Key + meeting number + timestamp + role.
3. Compute an HMAC-SHA256 hash of the concatenated string using the API Secret as the key.
4. Base64-encode the resulting hash and use it as the value for the signature parameter in your Zoom API requests.

If you have followed these steps correctly and are still getting an “invalid SDK” error, there are a few things you can try:

1. Check that your API Key and API Secret are correct and match the ones you have set up in the Zoom Developer Console.
2. Verify that the meeting number and role parameters are correct in the concatenated string used to generate the signature.
3. Check that the system time on the computer generating the signature is correct.
4. Ensure that you are using the correct SDK version for your API Key and Secret.
