cancel
Showing results for 
Search instead for 
Did you mean: 

Test JWTs from Zoom site not accepted

JonBoy49
Explorer
Explorer

For some time now I have been testing Zoom APIs using Insomnia and the JWTs generated on this Zoom supplied page: https://marketplace.zoom.us/docs/guides/auth/jwt

Once I know I have the right API (or have simply got the data I want) I then write code to call the APIs as needed.

This has worked well until this week.  My existing programs still work but using Insomnia with the JWT supplied by the Zoom page to test out new APIs produces 

{

"code": 124,
"message": "Invalid access token."

}

The key and secret are identical.  Also previously stored test calls in Insomnia also fail to work with the new JWTs. Left with the ole ones they (correctly) respond that the JWT has expired.

Anyone got any ideas on what could cause this?

1 ACCEPTED SOLUTION

JonBoy49
Explorer
Explorer

Found my own answer.  A spurious CR had found its way in before the JWT text. Because of the way wrapping is handled the appearance is identical with and without the CR. Remove it and all works as expected.

View solution in original post

1 REPLY 1

JonBoy49
Explorer
Explorer

Found my own answer.  A spurious CR had found its way in before the JWT text. Because of the way wrapping is handled the appearance is identical with and without the CR. Remove it and all works as expected.