# Getting invalid access token "missing scope" when bearer token does have the scope

**URL:** <https://devforum.zoom.us/t/getting-invalid-access-token-missing-scope-when-bearer-token-does-have-the-scope/94222>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [August 30, 2023, 4:55pm UTC](https://devforum.zoom.us/t/getting-invalid-access-token-missing-scope-when-bearer-token-does-have-the-scope/94222 "2023-08-30T16:55:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjenkins](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jjenkins/32/51575_2.png) [@jjenkins](https://devforum.zoom.us/u/jjenkins)\
**Post date:** [August 30, 2023, 4:55pm UTC](https://devforum.zoom.us/t/getting-invalid-access-token-missing-scope-when-bearer-token-does-have-the-scope/94222/1 "2023-08-30T16:55:01Z")

</div>

I am trying to pull all of the devices from my account with:

[https://api.zoom.us/v2/accounts/(accountID)/phone/devices](https://api.zoom.us/v2/accounts/(accountID)/phone/devices)  
but I am getting:  
{  
“code”: 104,  
“message”: “Invalid access token, does not contain scopes:[phone:master].”  
}  
When I use the bearer token I get the following back:  
“token\_type”: “bearer”,  
“expires\_in”: 3599,  
“scope”: “phone:master”  
}

I am running the test in python and not understanding why it doesn’t think my bearer token has phone:master when it does.

---

<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 31, 2023, 3:56pm UTC](https://devforum.zoom.us/t/getting-invalid-access-token-missing-scope-when-bearer-token-does-have-the-scope/94222/2 "2023-08-31T15:56:47Z")

</div>

Hi @jjenkins  
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!

Have you been able to replicate this issue using a tool like Postman?  
Also, can you confirm if you have a Master account license?

---

<div class="post-metadata">

**Author:** ![jjenkins](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jjenkins/32/51575_2.png) [@jjenkins](https://devforum.zoom.us/u/jjenkins)\
**Post date:** [August 31, 2023, 4:07pm UTC](https://devforum.zoom.us/t/getting-invalid-access-token-missing-scope-when-bearer-token-does-have-the-scope/94222/3 "2023-08-31T16:07:32Z")

</div>

That’s how I was able to replicate the issue and yes I have a master account license.

---

<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 31, 2023, 4:14pm UTC](https://devforum.zoom.us/t/getting-invalid-access-token-missing-scope-when-bearer-token-does-have-the-scope/94222/4 "2023-08-31T16:14:07Z")

</div>

Thanks @jjenkins I will send you a private message to take a closer look into this  
Cheers,  
Elisa

---

<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:** [November 29, 2023, 4:11pm UTC](https://devforum.zoom.us/t/getting-invalid-access-token-missing-scope-when-bearer-token-does-have-the-scope/94222/6 "2023-11-29T16:11:21Z")

</div>

Closed on November 29, 2023, 4:11pm UTC

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