# Get code 124 "Invalid access token." with a valid oauth token on GET /v2/users

**URL:** <https://devforum.zoom.us/t/get-code-124-invalid-access-token-with-a-valid-oauth-token-on-get-v2-users/60170>\
**Category:** API and Webhooks\
**Created:** [November 12, 2021, 8:19am UTC](https://devforum.zoom.us/t/get-code-124-invalid-access-token-with-a-valid-oauth-token-on-get-v2-users/60170 "2021-11-12T08:19:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![codeleter](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/codeleter/32/43083_2.png) [@codeleter](https://devforum.zoom.us/u/codeleter)\
**Post date:** [November 12, 2021, 8:19am UTC](https://devforum.zoom.us/t/get-code-124-invalid-access-token-with-a-valid-oauth-token-on-get-v2-users/60170/1 "2021-11-12T08:19:02Z")

</div>

**Description**  
I got a valid access\_token and referesh\_token from oauth/token , I was able to use the refresh\_token to refresh.  
When I use the access\_token to GET /v2/users , I got a code 124, invalid access token.

**Error**  
{  
“code”: 124,  
“message”: “Invalid access token.”  
}  
**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**Which Endpoint/s?**  
GET /v2/users

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. get code from /oauth/authorize  
2 get token from /oauth/token  
3 use the token as bearer to call GET /v2/users  
4 invalid access token

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**

I want to create meetings on user’s behave, to do that I need to POST to /users/:userId/meetings , thus I need userId, I was stuck at the GET [https://api.zoom.us/v2/users](https://api.zoom.us/v2/users) step and can’t test further

---

<div class="post-metadata">

**Author:** ![codeleter](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/codeleter/32/43083_2.png) [@codeleter](https://devforum.zoom.us/u/codeleter)\
**Post date:** [November 12, 2021, 8:52am UTC](https://devforum.zoom.us/t/get-code-124-invalid-access-token-with-a-valid-oauth-token-on-get-v2-users/60170/2 "2021-11-12T08:52:39Z")

</div>

I suspect it’s a scope issue, I tried [https://api.zoom.us/v2/users/email?email=example@example.com](https://api.zoom.us/v2/users/email?email=example@example.com) and the token can return valid response. However, I checked all user scope. what additional scope do I need to get user\_id ?

Thanks

---

<div class="post-metadata">

**Author:** ![codeleter](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/codeleter/32/43083_2.png) [@codeleter](https://devforum.zoom.us/u/codeleter)\
**Post date:** [November 14, 2021, 7:39am UTC](https://devforum.zoom.us/t/get-code-124-invalid-access-token-with-a-valid-oauth-token-on-get-v2-users/60170/3 "2021-11-14T07:39:16Z")

</div>

oops, that’s a careless mistake on my side. I should have read the documentation more carefully. For user-level apps, pass [the `me` value](https://marketplace.zoom.us/docs/api-reference/using-zoom-apis#mekeyword) instead of the `userId` parameter.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [November 15, 2021, 8:56pm UTC](https://devforum.zoom.us/t/get-code-124-invalid-access-token-with-a-valid-oauth-token-on-get-v2-users/60170/4 "2021-11-15T20:56:11Z")

</div>

Hey @codeleter,

Thank you for reaching out to the Zoom Developer Forum. I’m glad to hear that you were able to resolve your issue! I’ll go ahead and close this topic now but feel free to open a new topic if you encounter any further issues or questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [November 15, 2021, 8:56pm UTC](https://devforum.zoom.us/t/get-code-124-invalid-access-token-with-a-valid-oauth-token-on-get-v2-users/60170/5 "2021-11-15T20:56:14Z")

</div>

Closed on November 15, 2021, 8:56pm UTC


