# Getting 124 "Invalid access token." errors

**URL:** <https://devforum.zoom.us/t/getting-124-invalid-access-token-errors/76909>\
**Category:** API and Webhooks\
**Created:** [October 4, 2022, 10:06am UTC](https://devforum.zoom.us/t/getting-124-invalid-access-token-errors/76909 "2022-10-04T10:06:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 6, 2022, 12:38am UTC](https://devforum.zoom.us/t/getting-124-invalid-access-token-errors/76909/3 "2022-10-06T00:38:52Z")

</div>

Thanks for sharing this insight @david5!

> [@Randomly receiving "Invalid access token" for Server-to-Server OAuth](https://devforum.zoom.us/t/randomly-receiving-invalid-access-token-for-server-to-server-oauth/74432/22):
>
> For posterity and anyone else who happens to run across this thread while scratching their head about how Server-to-Server OAuth works: Requesting a new Server-to-Server OAuth token invalidates the previous one. Zoom can increase the “index” count for your account, allowing you to request different tokens with different indexes that do not interfere with each other (i.e. requesting a token for index 1 doesn’t invalidate the token requested for index 2). The token index is specified in the call…

---

_[View the full topic](https://devforum.zoom.us/t/getting-124-invalid-access-token-errors/76909)._
