Error While Getting User Info. Code 124 Invalid access token

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 using grant type as client credentials

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

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

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

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”}

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