# Periodic failures of /groups endpoint with - getting error {'code': 124, 'message': 'Invalid access token.'}

**URL:** <https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900>\
**Category:** Users and Groups\
**Created:** [August 25, 2022, 4:20pm UTC](https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900 "2022-08-25T16:20:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hagelk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hagelk/32/40806_2.png) [@hagelk](https://devforum.zoom.us/u/hagelk)\
**Post date:** [August 25, 2022, 4:20pm UTC](https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900/1 "2022-08-25T16:20:49Z")

</div>

I am seeing this morning the periodic failure of the groups endpoint getting the invalid access token. It does work on a periodic basis, but it is also spitting that error out more often than it doesn’t. Is there something I am doing wrong, or does this need to be resolved on Zoom’s end?

---

<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:** [August 25, 2022, 8:08pm UTC](https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900/2 "2022-08-25T20:08:31Z")

</div>

Hi @hagelk  
Welcome to our community! I am happy to help here!  
Interesting, I have not seen a similar case to yours.  
My question is, what type of application are you using? Is there a possibility that this issue could be due to the Expiration time of the token that you are using to call our APIs?

Feel free to share more details with me so I can help you understand what is going on!  
Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![hagelk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hagelk/32/40806_2.png) [@hagelk](https://devforum.zoom.us/u/hagelk)\
**Post date:** [August 25, 2022, 8:09pm UTC](https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900/3 "2022-08-25T20:09:22Z")

</div>

We are using OAuth Server to Server. It can’t be that problem of expiring tokens as the token is generated less than a second before this happens.

---

<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:** [August 25, 2022, 9:02pm UTC](https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900/4 "2022-08-25T21:02:04Z")

</div>

I see @hagelk  
Could you please share with me what endpoints are you calling?

---

<div class="post-metadata">

**Author:** ![hagelk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hagelk/32/40806_2.png) [@hagelk](https://devforum.zoom.us/u/hagelk)\
**Post date:** [August 25, 2022, 9:14pm UTC](https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900/5 "2022-08-25T21:14:34Z")

</div>

The only one where I see errors are at: /groups?page\_size=100

I also do: /groups/{group\_id}/members without any problems, as well as /users

---

<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:** [August 29, 2022, 7:07pm UTC](https://devforum.zoom.us/t/periodic-failures-of-groups-endpoint-with-getting-error-code-124-message-invalid-access-token/74900/6 "2022-08-29T19:07:10Z")

</div>

Hi @hagelk  
I have sent you a private message so we can exchange more information privately.  
🙂
