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

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

Screenshots (If applicable)

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