# {"code": 124, "message": "Invalid access token." } iOS example

**URL:** <https://devforum.zoom.us/t/code-124-message-invalid-access-token-ios-example/17459>\
**Category:** API and Webhooks\
**Created:** [May 13, 2020, 1:48pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-ios-example/17459 "2020-05-13T13:48:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob.gomez.mu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rob.gomez.mu/32/8359_2.png) [@rob.gomez.mu](https://devforum.zoom.us/u/rob.gomez.mu)\
**Post date:** [May 13, 2020, 1:48pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-ios-example/17459/1 "2020-05-13T13:48:20Z")

</div>

**Description**  
I’m trying to get Token and ZAK to start new meeting without a login user, following documentation ([https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/api-user/authentication](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/api-user/authentication)), but when I try to get these values, I get the same response: 401, {“code”: 124, “message”: “Invalid access token.” }

This is my Request:

[https://api.zoom.us/v2/users/token?type=token&access\_token=](https://api.zoom.us/v2/users/token?type=token&access_token=)\< token \>

Can you help me with this issue?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 18, 2020, 6:39pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-ios-example/17459/2 "2020-05-18T18:39:14Z")

</div>

Hi @rob.gomez.mu which authentication method are you using? If you are using [JWT](https://marketplace.zoom.us/docs/guides/auth/jwt), you will only be able to get tokens for users on your account. If you are using [OAuth](https://marketplace.zoom.us/docs/guides/auth/oauth), have you created an OAuth app with the required scopes to access user data?

---

<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:** [August 21, 2020, 9:22pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-ios-example/17459/3 "2020-08-21T21:22:37Z")

</div>


