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


#1

I am having an issue while calling get API for authentication in the access token.

I have created access token based on https://jwt.io/ but it gives me an error “The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256” in Postman

I have also tried with python pyjwt library to get access token but it gives me “Invalid access token” error in postman.

Please let me know where I am going wrong, as I need to authenticate and Configure this immediately.

 


#2

Hi Murtuza, 

Can you confirm that your exp value is a date in the future? 

Thanks


#3

Hello Michael,

Thanks, I changed exp value based on the correct timestamp and found 404 error (Page not found) while calling the authenticate method.

https://api.zoom.us/v2/?access_token=Newly generated Token


Please let me know where I am going wrong.


#4

Hi Murtuza, 

Please check your api call, you are missing the API endpoint - https://api.zoom.us/v2/{endpoint}?accessToken

What API are you trying to call?

Thanks


#5

Many Thanks, Michael,

It works when I added endpoints.

But when I call List of sub-account (get) method it raises me error {“code”: 124, “message”: “Invalid access token.”}.

https://api.zoom.us/v2/accounts?page_size=30&page_number=1&access_token= Newly generated Token.


#6

Hi Murtuza,

If you get an Invalid Access Token, please check to make sure your token has not expired by checking the exp value. 


#7

Hello Michael,

Everything is ok but I think the issue is an accounts API.

Below I have found the same issue.

https://support.zoom.us/hc/en-us/community/posts/115020432263-Invalid-Access-Token-Error

https://support.zoom.us/hc/en-us/community/posts/360000003043-401-error-when-calling-the-accounts-api-of-v2


#8

Hi Murtuza, 

Just to confirm, is your issue resolved? If not, do you have sub accounts under the master account?

Thanks


#9

Hello Michael,

No, I don’t have sub accounts under the master account but it gives me {“code”: 124, “message”: “Invalid access token.”} error.