# {"code":124,"message":"Invalid access token."} - Postman when calling List users with JWT

**URL:** <https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753>\
**Category:** API and Webhooks\
**Created:** [March 16, 2020, 6:24pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753 "2020-03-16T18:24:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gupta.gaurabh](https://avatars.discourse-cdn.com/v4/letter/g/82dd89/32.png) [@gupta.gaurabh](https://devforum.zoom.us/u/gupta.gaurabh)\
**Post date:** [March 16, 2020, 6:24pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/1 "2020-03-16T18:24:23Z")

</div>

**Description**  
I am following the API documentation to test API using Postman. I have called List User API after entering token generated using [jwt.io](http://jwt.io).

**Error**  
{“code”:124,“message”:“Invalid access token.”}

I am using JWT

 ![Annotation 2020-03-16 235132](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/520d99243d9e02a02e451510a1fedc63d073bdca.jpeg)

---

<div class="post-metadata">

**Author:** ![gupta.gaurabh](https://avatars.discourse-cdn.com/v4/letter/g/82dd89/32.png) [@gupta.gaurabh](https://devforum.zoom.us/u/gupta.gaurabh)\
**Post date:** [March 16, 2020, 6:25pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/2 "2020-03-16T18:25:06Z")

</div>

![a2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5fed6ce668d9af6c13849e7f4be011f764d2c66a.jpeg)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 16, 2020, 6:26pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/3 "2020-03-16T18:26:02Z")

</div>

Hey @gupta.gaurabh, thanks for posting and using Zoom!

How are you passing in the JWT Token in postman?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gupta.gaurabh](https://avatars.discourse-cdn.com/v4/letter/g/82dd89/32.png) [@gupta.gaurabh](https://devforum.zoom.us/u/gupta.gaurabh)\
**Post date:** [March 16, 2020, 6:27pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/4 "2020-03-16T18:27:49Z")

</div>

Thanks for the reply @tommy! I have entered the token generated into the collection

 ![a3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/18c5aa4650fed76903c9fdc714f9ec3f7b00cab0.jpeg)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 16, 2020, 9:38pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/5 "2020-03-16T21:38:45Z")

</div>

Hey @gupta.gaurabh,

Good. Can you try generating a new JWT, maybe it’s expired?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gupta.gaurabh](https://avatars.discourse-cdn.com/v4/letter/g/82dd89/32.png) [@gupta.gaurabh](https://devforum.zoom.us/u/gupta.gaurabh)\
**Post date:** [March 17, 2020, 9:30am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/6 "2020-03-17T09:30:11Z")

</div>

Hi @tommy. No luck. Can you please tell what is the exact url for List Users API I should use ? And What are the exact steps to be followed when we log in to dev account for getting API key and Secret key ?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 17, 2020, 7:01pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/7 "2020-03-17T19:01:28Z")

</div>

Hey @gupta.gaurabh,

[Here is the reference for the List Users API.](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users)

`GET https://api.zoom.us/v2/users`

`"Authorization": "Bearer JWT_TOKEN_HERE"`

Here is how you can get [JWT](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-jwt-app) or [OAuth](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-oauth-app) credentials.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![unit1](https://avatars.discourse-cdn.com/v4/letter/u/2acd7d/32.png) [@unit1](https://devforum.zoom.us/u/unit1)\
**Post date:** [March 17, 2020, 7:49pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/8 "2020-03-17T19:49:22Z")

</div>

I have the same issue

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 17, 2020, 7:50pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/9 "2020-03-17T19:50:22Z")

</div>

Hey @unit1, thanks for posting and using Zoom!

Please share more details about your issue.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![unit1](https://avatars.discourse-cdn.com/v4/letter/u/2acd7d/32.png) [@unit1](https://devforum.zoom.us/u/unit1)\
**Post date:** [March 17, 2020, 8:07pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/10 "2020-03-17T20:07:31Z")

</div>

I am actually trying to get the list of all the meeting for the user. I am using the coldfusion for the server side and the url [https://api.zoom.us/v2/users/unit1/meetings](https://api.zoom.us/v2/users/unit1/meetings)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 17, 2020, 9:07pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/11 "2020-03-17T21:07:59Z")

</div>

Hey @unit1,

I just tested and it worked. How are you [generating your JWT Token](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![infosys](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/infosys/32/5249_2.png) [@infosys](https://devforum.zoom.us/u/infosys)\
**Post date:** [April 6, 2020, 8:51pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/12 "2020-04-06T20:51:27Z")

</div>

Hi, I am also having the same problem. Has the issue been resolved?

---

<div class="post-metadata">

**Author:** ![m.daletzki](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@m.daletzki](https://devforum.zoom.us/u/m.daletzki)\
**Post date:** [April 6, 2020, 10:00pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/13 "2020-04-06T22:00:01Z")

</div>

Having similar issues. I copied the JWT token generated from the Zoom Backend (where i also find api key and secret) and also copied the example from github ([https://github.com/zoom/zoom-api-jwt/blob/master/index.js](https://github.com/zoom/zoom-api-jwt/blob/master/index.js)) But still get: { code: 124, message: ‘Invalid access token.’ }

I set the JWT to expire in 90 days so its valid. I can’t get it to work. Am I missing something here?

---

<div class="post-metadata">

**Author:** ![poolitzer](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/poolitzer/32/5261_2.png) [@poolitzer](https://devforum.zoom.us/u/poolitzer)\
**Post date:** [April 6, 2020, 10:30pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/14 "2020-04-06T22:30:24Z")

</div>

I just created a new JWT app and triple checked all credentials and am also facing this error ☹

---

<div class="post-metadata">

**Author:** ![poolitzer](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/poolitzer/32/5261_2.png) [@poolitzer](https://devforum.zoom.us/u/poolitzer)\
**Post date:** [April 6, 2020, 10:50pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/15 "2020-04-06T22:50:45Z")

</div>

Guys, I think this issue is confirmed and reported in this post [Can not create JWT app](https://devforum.zoom.us/t/can-not-create-jwt-app/11118/57).

Maybe someone wants to lock this and edit the title of the other one since thats where the staff replied?

---

<div class="post-metadata">

**Author:** ![alan.chen](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@alan.chen](https://devforum.zoom.us/u/alan.chen)\
**Post date:** [April 7, 2020, 1:06am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/16 "2020-04-07T01:06:11Z")

</div>

We faced same issue, and got  
“code”: 124, “message”: “Invalid access token.”

Following the doc online, create JWT app with api key/secret, and generate Token for 1 week.  
And it never work, whether using PostMan with Bearer Token/ or using C# code with header request.AddHeader(“authorization”, $“Bearer {token}”);

just wondering is anybody can help here?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 7, 2020, 5:37am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/17 "2020-04-07T05:37:23Z")

</div>

Hey Everyone, we are aware of this issue and are working to fix it asap.

Stay updated here: [Developer impacting changes during COVID-19](https://devforum.zoom.us/t/developer-impacting-changes-during-covid-19/8930)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alan.chen](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@alan.chen](https://devforum.zoom.us/u/alan.chen)\
**Post date:** [April 9, 2020, 3:21pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/18 "2020-04-09T15:21:19Z")

</div>

Thanks tommy, we reactivate JWT app, and regenerate Token, that token works fine now.  
But if we dynamical create a token using API key/secret, and give expired for 60 minutes etc.  
That token still not work, we using C# JWT dotnet library

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 10, 2020, 7:06am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/19 "2020-04-10T07:06:26Z")

</div>

Hey @alan.chen, glad to hear test token is working now.

Was the token working before for you when generating using the C# library?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 16, 2020, 10:47pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/22 "2020-07-16T22:47:14Z")

</div>

Hey @s.nishant,

If @unit1 does not reply, how can I help? 🙂

Thanks,  
Tommy

[Next page](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753.md?page=2)
