# \[Phone API\] Invalid access token, does not any contain scope

**URL:** <https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938>\
**Category:** Phone\
**Created:** [July 26, 2022, 3:07am UTC](https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938 "2022-07-26T03:07:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tak](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tak](https://devforum.zoom.us/u/tak)\
**Post date:** [July 26, 2022, 3:07am UTC](https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938/1 "2022-07-26T03:07:01Z")

</div>

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**

List phone users ([https://api.zoom.us/v2/phone/users](https://api.zoom.us/v2/phone/users))  
[https://marketplace.zoom.us/docs/api-reference/phone/methods/#tag/Users/operation/listPhoneUsers](https://marketplace.zoom.us/docs/api-reference/phone/methods/#tag/Users/operation/listPhoneUsers)

**Description**  
Above end point returns response

“code”: 124,  
“message”: “Invalid access token, does not any contain scope.”

I am using JWT token generated by OAuth through the App

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/1/e1c044e2dda63f38bcaad066941828991d6cd21e.png)

App is properly set to have **Scopes:** phone:read:admin

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/3/937de4f1bd5aec35bd46e939d022094b2d2282c7.png)

- I am able to call using same token (e.x /users endpoint)

Does Phone API working properly? or What could be the issue?

---

<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:** [July 26, 2022, 4:18am UTC](https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938/2 "2022-07-26T04:18:38Z")

</div>

Hi @tak try generating a new token directly within the OAuth app or through [Postman](https://devforum.zoom.us/t/guide-making-a-zoom-api-call-with-oauth-credentials-in-postman/64538) and see if it works!

---

<div class="post-metadata">

**Author:** ![tak](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tak](https://devforum.zoom.us/u/tak)\
**Post date:** [July 26, 2022, 8:57am UTC](https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938/3 "2022-07-26T08:57:40Z")

</div>

Hi Gianni, Thanks for the reply, I have already try regenerating a token but getting same result.

The response is bit strange to me, should it say what scope are missing in message, if there is any?  
(e.x [Invalid access token, does not contain scopes: [meeting:read:admin, meeting:write:admin]] )

---

<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:** [July 26, 2022, 12:27pm UTC](https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938/4 "2022-07-26T12:27:35Z")

</div>

Hi @tak ,

Thanks for clarifying. Can you confirm that you have admin access with the [right permissions](https://support.zoom.us/hc/en-us/articles/115001078646-Using-role-management)? If yes, try the following:

1. Un-authorize the app by going to “local test” and removing the app.
2. Remove the phone:read:admin scope and re-add it.
3. Re-authorize the app in “local test” by adding it back.
4. Revoke the old OAuth access token and generate a new one.
5. Make a request to the endpoint.

If this does not work, please create a [support ticket](https://support.zoom.us/hc/en-us), linking this thread with the following information for Service Engineering:

- Account Id
- Email of the user making the API requests
- Full API request/response
- Application credentials being used to make the API requests
- The screenshots you attached here

Please let me know what happens.

Gianni

---

<div class="post-metadata">

**Author:** ![tak](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tak](https://devforum.zoom.us/u/tak)\
**Post date:** [July 26, 2022, 12:42pm UTC](https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938/5 "2022-07-26T12:42:44Z")

</div>

Hi Gianni,

Ok, I will try the “local” test tomorrow.

And back to my question. Is this a expected response?  
if not what might be a cause? is that problem on your end?

“code”: 124,  
“message”: “Invalid access token, does not any contain scope.”

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/1/e1c044e2dda63f38bcaad066941828991d6cd21e.png)

---

<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:** [July 26, 2022, 12:50pm UTC](https://devforum.zoom.us/t/phone-api-invalid-access-token-does-not-any-contain-scope/72938/6 "2022-07-26T12:50:30Z")

</div>

Hi @tak ,

Yes this is intended behavior I believe for security reasons 🙂
