# Error While Getting User Info. Code 124 Invalid access token

**URL:** <https://devforum.zoom.us/t/error-while-getting-user-info-code-124-invalid-access-token/133356>\
**Category:** Authentication\
**Tags:** api\
**Created:** [May 29, 2025, 2:26pm UTC](https://devforum.zoom.us/t/error-while-getting-user-info-code-124-invalid-access-token/133356 "2025-05-29T14:26:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saleem1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saleem1/32/69409_2.png) [@Saleem1](https://devforum.zoom.us/u/Saleem1)\
**Post date:** [May 29, 2025, 2:26pm UTC](https://devforum.zoom.us/t/error-while-getting-user-info-code-124-invalid-access-token/133356/1 "2025-05-29T14:26:32Z")

</div>

Hi All,

I am trying to user info via zoom API but I get below error for access token. I have looked up everything but unable to find the cause of the issue.

Token URL: [https://zoom.us/oauth/token](https://zoom.us/oauth/token) using grant type as client credentials

Endpoint: /user/me  
{  
“code”: 124,  
“message”: “Invalid access token.”  
}

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 30, 2025, 4:31pm UTC](https://devforum.zoom.us/t/error-while-getting-user-info-code-124-invalid-access-token/133356/2 "2025-05-30T16:31:24Z")

</div>

Hi @Saleem1  
thanks for reaching out to. us!  
Can you please change the grant\_type in your request.  
It should be account\_credentials as grant type

---

<div class="post-metadata">

**Author:** ![Saleem1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saleem1/32/69409_2.png) [@Saleem1](https://devforum.zoom.us/u/Saleem1)\
**Post date:** [May 31, 2025, 11:08am UTC](https://devforum.zoom.us/t/error-while-getting-user-info-code-124-invalid-access-token/133356/3 "2025-05-31T11:08:47Z")

</div>

Hi Elisa,

I have tried that already getting “unsupported\_grant\_type” error

Content-Type: application/x-www-form-urlencoded

account\_id: hX5D34BMR4SjrWMbk\_p9eg

grant\_type: account\_credentials

Authorization: Basic aUo2Z2RiaDdRWnV6bE9RVHBWSHFSQTpvcnk3MklSa1RSM0pIam1CYTJsaE1maTQxaTY4bTZldA==

User-Agent: PostmanRuntime/7.44.0

Accept: _/_

Cache-Control: no-cache

Postman-Token: 5035190a-819a-4f09-b9e7-88c2d0214c8f

Host: [zoom.us](http://zoom.us)

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

Content-Length: 9

Cookie: \_\_cf\_bm=5Jy3d8SO\_m.pPd2g1DuChWb24LkF75duj909B1\_AW2w-1748689418-1.0.1.1-2h7rXJ6.Np.GiIfMHcl1Ej3yHinhTvH1B02kSFd7vQaNpyv4nTsUjIizOuv5zUU1hVRX9G5JLcVRFQIBf6f\_7AQ.QWou67Khx.CzAmQCsSQ; \_zm\_chtaid=844; \_zm\_ctaid=L2ddN-S3Q6OrBjWxd6U8Fg.1748689417960.3c19ea53dc0e0156b4394f215d8a3473; \_zm\_mtk\_guid=2242c171b4f84120b79970c308d3877e; \_zm\_page\_auth=us04\_c\_b3QIcgaET4SZ0980khfc1g; \_zm\_ssid=us04\_c\_q22T1xSmSDycpcYVyf3z0A; cred=FFADB054B17CEED55D4408FCCD630A87  
{“reason”:“unsupported grant type”,“error”:“unsupported\_grant\_type”}

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [June 2, 2025, 9:24am UTC](https://devforum.zoom.us/t/error-while-getting-user-info-code-124-invalid-access-token/133356/4 "2025-06-02T09:24:02Z")

</div>

Hey @Saleem1  
Can you please review this post and make sure you are using the right app type and right credentials

> [@How to user Server-to-Sever OAuth app with Postman](https://devforum.zoom.us/t/how-to-user-server-to-sever-oauth-app-with-postman/70848):
>
> How to use our Server-to-Server OAuth with Postman? As some of you might be aware of, our JWT app is being deprecated by June 2023 and we encourage you to migrate to the newly introduced [Server-to-Server OAuth App](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app) That being said, here is a quick and simple guide on how to use or new app with Postman As stated in our documentation here: This new app type facilitates OAuth-authenticated requests between servers without end-user involvement. And this grant type enable your private server a…
