# The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256 javascript

**URL:** <https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-javascript/40072>\
**Category:** API and Webhooks\
**Created:** [January 8, 2021, 6:00pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-javascript/40072 "2021-01-08T18:00:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/apis/32/21202_2.png) [@apis](https://devforum.zoom.us/u/apis)\
**Post date:** [January 8, 2021, 6:00pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-javascript/40072/1 "2021-01-08T18:00:54Z")

</div>

**Description**  
Can anyone help me to generate the JWT token in javascript?. I tried generating the token but getting the error “The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256”

**Error**  
{

```
"code": 124,

"message": "The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256"

```

}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)

**Screenshots (If applicable)**

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

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 8, 2021, 10:30pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-javascript/40072/2 "2021-01-08T22:30:49Z")

</div>

Hey @apis,

Thank you for reaching out to the Zoom Developer Forum. Please provide a snippet of the code you’re using to generate the token and I’ll look into this further.

Thanks,  
Max

---

<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:** [February 8, 2021, 8:30am UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-javascript/40072/3 "2021-02-08T08:30:51Z")

</div>

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