# Zoom Api Invalid Access Token Problem

**URL:** <https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562>\
**Category:** Authentication\
**Created:** [August 28, 2024, 9:42pm UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562 "2024-08-28T21:42:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliaksoy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aliaksoy/32/49388_2.png) [@aliaksoy](https://devforum.zoom.us/u/aliaksoy)\
**Post date:** [August 28, 2024, 9:42pm UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/1 "2024-08-28T21:42:52Z")

</div>

Hi everyone, we are integrating Zoom into our learning management system for use in our institution. I am successfully receiving the access token via the Zoom API and have granted the relevant permissions to the scopes. However, when I make any API requests, I am constantly receiving the error “code”: 124, “message”: “Invalid access token.” What should I do to fix this problem? Thanks in advance everyone.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 29, 2024, 3:53pm UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/2 "2024-08-29T15:53:11Z")

</div>

Hi @aliaksoy ,

Is this being generated via Server to Server OAuth or User OAuth? Link the guidance you used to generate the access token.

What are a few endpoints you’re trying to access?

Try uninstalling the application locally, reinstalling and generating a new access token.

---

<div class="post-metadata">

**Author:** ![Fario\_Consulting](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@Fario\_Consulting](https://devforum.zoom.us/u/Fario_Consulting)\
**Post date:** [August 29, 2024, 7:02pm UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/4 "2024-08-29T19:02:44Z")

</div>

Hi Ali,  
Could you check to ensure that you have prefixed your Access token with “Bearer” in your Authorization header

---

<div class="post-metadata">

**Author:** ![aliaksoy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aliaksoy/32/49388_2.png) [@aliaksoy](https://devforum.zoom.us/u/aliaksoy)\
**Post date:** [September 1, 2024, 10:29am UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/5 "2024-09-01T10:29:55Z")

</div>

Hi @gianni.zoom ,  
Yes, I am having this issue for Server to Server OAuth. Some of the endpoints I’m trying to access are  
/v2/users/me and  
/v2/users/me/meetings

As I have added in the screenshot, I am successfully getting the access token for these operations. However, while making a request with this access token, I am getting an error “Invalid access token”.

When I uninstalled the app and tried everything again, the result was always the same.

---

<div class="post-metadata">

**Author:** ![aliaksoy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aliaksoy/32/49388_2.png) [@aliaksoy](https://devforum.zoom.us/u/aliaksoy)\
**Post date:** [September 1, 2024, 10:32am UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/6 "2024-09-01T10:32:06Z")

</div>

Hi Fario, Yes, my access token is prefixed with Bearer, but I still get the “Invalid Access Token” warning.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [September 3, 2024, 4:27pm UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/7 "2024-09-03T16:27:50Z")

</div>

Hi @aliaksoy , there is likely an issue with how you’re generating the token. Can you please link the guidance you used to generate it?

---

<div class="post-metadata">

**Author:** ![aliaksoy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aliaksoy/32/49388_2.png) [@aliaksoy](https://devforum.zoom.us/u/aliaksoy)\
**Post date:** [September 5, 2024, 4:38pm UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/9 "2024-09-05T16:38:25Z")

</div>

Here is the link to the guide I used to generate the access token.

> **[Server-to-Server OAuth](https://developers.zoom.us/docs/internal-apps/s2s-oauth/#generate-access-token)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [September 5, 2024, 7:07pm UTC](https://devforum.zoom.us/t/zoom-api-invalid-access-token-problem/116562/10 "2024-09-05T19:07:27Z")

</div>

Hi @aliaksoy , I am not able to reproduce your issue. Can you please try using the Postman workspace to generate your S2S token?
