# BUG: chat bot scope account:read:admin cannot make api calls

**URL:** <https://devforum.zoom.us/t/bug-chat-bot-scope-accountadmin-cannot-make-api-calls/31013>\
**Category:** API and Webhooks\
**Created:** [September 22, 2020, 5:46pm UTC](https://devforum.zoom.us/t/bug-chat-bot-scope-accountadmin-cannot-make-api-calls/31013 "2020-09-22T17:46:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![attock](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@attock](https://devforum.zoom.us/u/attock)\
**Post date:** [September 22, 2020, 5:46pm UTC](https://devforum.zoom.us/t/bug-chat-bot-scope-accountadmin-cannot-make-api-calls/31013/1 "2020-09-22T17:46:07Z")

</div>

**Description**  
A chat bot app with scope `account:read:admin` when installed cannot make api calls to

GET [https://api.zoom.us/v2/accounts](https://api.zoom.us/v2/accounts)

**Error**  
The response is:

Invalid access token, does not contain scopes: [account:master, zms:account:read, account:write:master, account:read:master, zms:account:write]

**Documentation**  
[Scope Documents](https://marketplace.zoom.us/docs/guides/auth/oauth/oauth-scopes) state that given `account:read:admin` one should be able to make READ|GET accounts api calls

This is the screenshot you get when you try to install the app, which clearly stats that one can view account information.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5d3503aea6593b28a3c81e33371bd66023041924.png)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 23, 2020, 6:46pm UTC](https://devforum.zoom.us/t/bug-chat-bot-scope-accountadmin-cannot-make-api-calls/31013/2 "2020-09-23T18:46:04Z")

</div>

Hey @attock,

Do you have Master account privileges through your Zoom plan/license, and have you ensured that the Master Account option has been enabled for the account you’re requesting from?

Let me know—thanks!  
-Will

---

<div class="post-metadata">

**Author:** ![attock](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@attock](https://devforum.zoom.us/u/attock)\
**Post date:** [September 25, 2020, 6:06am UTC](https://devforum.zoom.us/t/bug-chat-bot-scope-accountadmin-cannot-make-api-calls/31013/3 "2020-09-25T06:06:11Z")

</div>

So a potential issue is that its letting me install the app and I would expect that such a user should not be allowed to install the app in first place. Should it not prevent it from installing?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 28, 2020, 4:30pm UTC](https://devforum.zoom.us/t/bug-chat-bot-scope-accountadmin-cannot-make-api-calls/31013/4 "2020-09-28T16:30:51Z")

</div>

Hi @attock,

If the user in question does not have the necessary permissions on their account, they wouldn’t be able to install an account-level app. Are you testing this using your own master account?

Thanks,  
Will

---

<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:** [October 29, 2020, 2:31am UTC](https://devforum.zoom.us/t/bug-chat-bot-scope-accountadmin-cannot-make-api-calls/31013/5 "2020-10-29T02:31:00Z")

</div>

Closed on October 29, 2020, 2:31am UTC

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