# {"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:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![s.nishant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/s.nishant/32/4827_2.png) [@s.nishant](https://devforum.zoom.us/u/s.nishant)\
**Post date:** [July 20, 2020, 11:23am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/24 "2020-07-20T11:23:16Z")

</div>

Hi Tommy, Can you please help me out how to login programatically in zoom marketplace account where created App. So that I can consume APIs. What are step and login function.

Just FYI… I am integrating zoom API in web application.

And second thing I want to integrate video conferencing in my custom page instead using zoom environment or app. Please suggest.

Regards

---

<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 22, 2020, 9:05pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/25 "2020-07-22T21:05:30Z")

</div>

Hey @s.nishant,

> [@s.nishant](#):
>
> Can you please help me out how to login programatically in zoom marketplace account where created App. So that I can consume APIs. What are step and login function.

Do you mean you are trying to automate the [OAuth sign in step](https://marketplace.zoom.us/docs/guides/auth/oauth#step-1-request-user-authorization)? We also have [JWT Authentication](https://marketplace.zoom.us/docs/guides/auth/jwt) that does not require user interaction.

> [@s.nishant](#):
>
> And second thing I want to integrate video conferencing in my custom page instead using zoom environment or app. Please suggest.

Checkout our Web SDK:

[https://marketplace.zoom.us/docs/sdk/native-sdks/web](https://marketplace.zoom.us/docs/sdk/native-sdks/web)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![s.nishant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/s.nishant/32/4827_2.png) [@s.nishant](https://devforum.zoom.us/u/s.nishant)\
**Post date:** [July 23, 2020, 3:40am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/26 "2020-07-23T03:40:50Z")

</div>

Hi Tommy,

**Issue 1** : I want use code to login through oAuth 2.0, without interface.

**Issue 2:** :  
Here is my and seems can not getting full feature like audio and chat box etc.

iframe allow=“microphone; camera; fullscreen;” style="border: 0; height: 100%; width: 100%; left: 0; position: absolute; top: 0; "  
src=“[https://zoom.us/wc/76498547032/start?prefer=0&un=#meetingInfo.encrypted\_passwor#](https://zoom.us/wc/76498547032/start?prefer=0&un=#meetingInfo.encrypted_passwor#)” frameborder=“0” sandbox=“allow-forms allow-scripts” /iframe

**Unable to join audio**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/acfa842490f15a578d51ca75e098b8550720bf41.png)

**can not send text**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/93c7a797adbf3b48da6c189f5f0da67b1e63f244.png)

Regards

---

<div class="post-metadata">

**Author:** ![s.nishant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/s.nishant/32/4827_2.png) [@s.nishant](https://devforum.zoom.us/u/s.nishant)\
**Post date:** [July 23, 2020, 4:18am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/27 "2020-07-23T04:18:17Z")

</div>

Hi Tommy,

I installed sdk and using JWT authentication… same issue is happening, can not use audio, vedio, chat etc feature… here is screenshot. Please advice.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7db2eb8d46f6e224b714e05504cc4f434c760fe7.png)

---

<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 24, 2020, 4:43pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/28 "2020-07-24T16:43:55Z")

</div>

Hey @s.nishant,

Please make sure you are serving your site securely over `https`.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![s.nishant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/s.nishant/32/4827_2.png) [@s.nishant](https://devforum.zoom.us/u/s.nishant)\
**Post date:** [July 27, 2020, 12:53pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/29 "2020-07-27T12:53:33Z")

</div>

Hi Tommy,  
Need one quick help. I can join meeting through JWT. But for creating new meeting I have to use oAuth authentication. I can not use JWT and SDK. I write some code for oAuth 2.0 and creating below url

[https://zoom.us/oauth/authorize?response\_type=code&client\_id=xMp3sThSBeOACCby2fIKw&redirect\_uri=http%3A%2F%2F127.0.0.1%3A8500%2Ftestingzone%2Fcallback.cfm&state=9560203D-D35D-DE77-030601039405FEA2](https://zoom.us/oauth/authorize?response_type=code&client_id=xMp3sThSBeOACCby2fIKw&redirect_uri=http%3A%2F%2F127%2E0%2E0%2E1%3A8500%2Ftestingzone%2Fcallback%2Ecfm&state=9560203D%2DD35D%2DDE77%2D030601039405FEA2)

instead giving me code it is redirecting me on zoom login page please help me out and advice so that I can get my code to consume API.

Regards

---

<div class="post-metadata">

**Author:** ![s.nishant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/s.nishant/32/4827_2.png) [@s.nishant](https://devforum.zoom.us/u/s.nishant)\
**Post date:** [July 27, 2020, 8:33pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/30 "2020-07-27T20:33:38Z")

</div>

Hi Tommy,

Please advice me on above as above url is redrecting me in login screen instead redirecting on my callback page. Please let me know how to login in zoom through code so that later I can generate my oauth 2.0 token and consume APIs Regards

---

<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 29, 2020, 9:58pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/31 "2020-07-29T21:58:14Z")

</div>

Hey @s.nishant,

For future unrelated questions to the original topic, please create a new one.

Part of the [OAuth process](https://marketplace.zoom.us/docs/guides/auth/oauth) is authenticating into your Zoom account. Once you do so, you will get the auth code.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![kanitmittal](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@kanitmittal](https://devforum.zoom.us/u/kanitmittal)\
**Post date:** [August 6, 2020, 6:32am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/32 "2020-08-06T06:32:31Z")

</div>

Hi Tommy, My user id is 4LKz5AE2Ttqur3d2izBt6A, I am trying to create a meeting through oauth in php with curl. But getting error stdClass Object ( [code] =\> 124 [message] =\> Invalid access token. ). Initially i as using JWT, that was working fine for creating meeting. But due to short life of jwt token i moved to oauth app. Can you help me for checking that my oauth app is created perfectly if yes then why i am getting this error?

---

<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:** [August 7, 2020, 7:24pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/33 "2020-08-07T19:24:53Z")

</div>

Hey @kanitmittal,

Please create a new topic and fill out the post template so we have enough info to help. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

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

</div>

No matter what I do, the response is  
“code”: 124,  
“message”: “Invalid access token.”  
I am using Postman and this is the request…  
[https://api.zoom.us/v2/users?User-Agent=Zoom-Jwt-Request&content-type=application/json&Authorization=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6IlI5Z0RVR0FRUUw2WUgtSzAtdDB2dVEiLCJleHAiOjE2MDg5NzI1ODAsImlhdCI6MTYwODk2NzE4MX0.8iAiGCSl1FKUlS1-Bi1Ps-Mb6zvx7rr74VSDDvt1jOQ](https://api.zoom.us/v2/users?User-Agent=Zoom-Jwt-Request&content-type=application/json&Authorization=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6IlI5Z0RVR0FRUUw2WUgtSzAtdDB2dVEiLCJleHAiOjE2MDg5NzI1ODAsImlhdCI6MTYwODk2NzE4MX0.8iAiGCSl1FKUlS1-Bi1Ps-Mb6zvx7rr74VSDDvt1jOQ)

A lot of people had the same problem i April, but I never saw the solution to the problem.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [December 28, 2020, 8:19pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-postman-when-calling-list-users-with-jwt/8753/35 "2020-12-28T20:19:35Z")

</div>

Hi @kbh,

Thanks for sharing your request URL. It looks like you might be including your headers in the request URL itself, is that possible? Can you please ensure that you’re sending everything after `users?` in your request headers and not the URL itself?

Please give that a try and let us know how it goes,  
Will

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