# Jwt token is not valid error

**URL:** <https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122>\
**Category:** Windows\
**Created:** [November 16, 2020, 2:56pm UTC](https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122 "2020-11-16T14:56:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddhartha.hrd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/siddhartha.hrd/32/18827_2.png) [@siddhartha.hrd](https://devforum.zoom.us/u/siddhartha.hrd)\
**Post date:** [November 16, 2020, 2:56pm UTC](https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122/1 "2020-11-16T14:56:52Z")

</div>

when i going to run window sdk demo file , after set domain diectly come to sdk jwt token but when i put the token which i created in zoom marketplace app, thats not working showing invalid token or auth sdk faild.

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

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

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 8, 2020, 3:05am UTC](https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122/2 "2020-12-08T03:05:51Z")

</div>

Hey @siddhartha.hrd,

Can you provide your payload and header for the JWT with your SDK key and Secret omitted?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![siddhartha.hrd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/siddhartha.hrd/32/18827_2.png) [@siddhartha.hrd](https://devforum.zoom.us/u/siddhartha.hrd)\
**Post date:** [December 8, 2020, 4:15am UTC](https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122/3 "2020-12-08T04:15:20Z")

</div>

sir, its working now, actually we have to copy the token from left side of the [JW.io](http://JW.io) page.then it will work.  
thank you.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 15, 2020, 1:33am UTC](https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122/4 "2020-12-15T01:33:25Z")

</div>

Hey @siddhartha.hrd,

Awesome! I am glad it is working now. JWT’s can be very tricky 🙂

Please let us know if you have any other issues or questions.  
Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![siddhartha.hrd](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/siddhartha.hrd/32/18827_2.png) [@siddhartha.hrd](https://devforum.zoom.us/u/siddhartha.hrd)\
**Post date:** [January 11, 2021, 4:56am UTC](https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122/6 "2021-01-11T04:56:54Z")

</div>

Ok sir , Please send me the link of github ,Thank you.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 16, 2021, 4:04am UTC](https://devforum.zoom.us/t/jwt-token-is-not-valid-error/36122/7 "2021-01-16T04:04:34Z")

</div>

Hey @siddhartha.hrd,

If you are still having JWT issues, I wrote up a small tutorial here for getting a sample JWT:

> [@"auth sdk failed" when running zoom sdk demo](https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448/7):
>
> Hey @it.it, Thanks for using the developer forum! To get a sample JWT for using the SDK, you can do the following: Log into Zoom Marketplace Click the “Build App” button in the top left corner Click the “View Here” button in the “SDK” tile You should now see your SDK key and SDK secret Go to [https://jwt.io/](https://jwt.io/) and scroll down until you see this page: [Screen Shot 2021-01-15 at 8.18.08 PM] Replace the payload in the right hand side with this payload: { “appKey”: “string”, “iat”: 0, “exp”: …

Thanks!  
Michael
