# Code: 124, message: 'Invalid access token.'

**URL:** <https://devforum.zoom.us/t/code-124-message-invalid-access-token/35293>\
**Category:** API and Webhooks\
**Created:** [November 6, 2020, 1:51pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token/35293 "2020-11-06T13:51:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![spectrumonline](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spectrumonline/32/18330_2.png) [@spectrumonline](https://devforum.zoom.us/u/spectrumonline)\
**Post date:** [November 6, 2020, 1:51pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token/35293/1 "2020-11-06T13:51:52Z")

</div>

I’m trying to get the api working using JWT but everytime results into { code: 124, message: ‘Invalid access token.’ }. I have tried regenerating code and reactivating the app and also generating using the code and even setting expiry data to 2099. I understand this is an recurring issue in zoom please fix this asap

data: { code: 124, message: ‘Invalid access token.’ }

JWT

**Which Endpoint/s?**  
All of them I suppose

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [November 6, 2020, 1:52pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token/35293/2 "2020-11-06T13:52:41Z")

</div>

Hey @spectrumonline

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout this related thread that may have the answer you are looking for:

> [@List all recording of an account with error code 124: Invalid access token](https://devforum.zoom.us/t/-/6936):
>
> We were using JWT method to call Zoom API, this was working fine with most of APIs, like the endpoints GET “/users” and etc. But when we want to get the full cloud recording list of our account, at endpoints: GET “/accounts/{accountId}/recordings” (reference: [https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/getaccountcloudrecording](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/getaccountcloudrecording)), we got error code 124 “Invalid access token”. Do we have to use other auth, like Oauth2 to call this API? Thanks

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![spectrumonline](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/spectrumonline/32/18330_2.png) [@spectrumonline](https://devforum.zoom.us/u/spectrumonline)\
**Post date:** [November 6, 2020, 1:54pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token/35293/3 "2020-11-06T13:54:22Z")

</div>

Nope this is not related to my 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:** [November 9, 2020, 6:10pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token/35293/4 "2020-11-09T18:10:11Z")

</div>

Hi @spectrumonline,

Can you please share an example request you’re making which is resulting in this error? Which endpoints have you tested with? Let me know if you can share some additional details so I can help debug.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 10, 2020, 4:10am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token/35293/5 "2020-12-10T04:10:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
