# 400 Error When Retrieving Account Settings via API

**URL:** <https://devforum.zoom.us/t/400-error-when-retrieving-account-settings-via-api/107498>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [April 9, 2024, 6:22am UTC](https://devforum.zoom.us/t/400-error-when-retrieving-account-settings-via-api/107498 "2024-04-09T06:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phani.mathangi](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@phani.mathangi](https://devforum.zoom.us/u/phani.mathangi)\
**Post date:** [April 9, 2024, 6:22am UTC](https://devforum.zoom.us/t/400-error-when-retrieving-account-settings-via-api/107498/1 "2024-04-09T06:22:32Z")

</div>

I was unable to retrieve my account settings through “url = [https://api.zoom.us/v2/accounts/me/settings](https://api.zoom.us/v2/accounts/me/settings)” when I try to run the python function in my local machine I was getting this error “Failed to fetch account settings. Status code: 400  
Response: {“code”:4711,“message”:“Invalid access token, does not contain scopes:.”}”. For authentication, I’m utilizing the “Server-To-Server OAuth” method. I am confident that my access token is valid, as I can successfully use it to list and create users. Additionally, I have ensured that my application has the necessary scopes assigned for these operations.  
Below are the scopes I have provided to my application:  
|account:read:account\_setting:master|

|account:read:account\_setting:admin|  
|account:read:settings:admin|  
|account:read:settings:master|  
|View and manage account info|  
|account:update:settings:admin|  
|View and manage sub accounts|  
|account:update:settings:master|

Could anyone guide me on what might be causing this error? Is there a specific scope required for accessing account settings that I might have overlooked, or could this be related to another issue?

Thank you for your assistance!

---

<div class="post-metadata">

**Author:** ![sagart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sagart/32/59254_2.png) [@sagart](https://devforum.zoom.us/u/sagart)\
**Post date:** [May 16, 2024, 8:01am UTC](https://devforum.zoom.us/t/400-error-when-retrieving-account-settings-via-api/107498/2 "2024-05-16T08:01:38Z")

</div>

I am also facing a similar issue, I have created a account-level “Server-to-server OAuth” app and have activated all the necessary scopes that to be used but I am getting Client error: `GET https://api.zoom.us/v2/accounts/<my_account_id>/settings` resulted in a `400 Bad Request` response: {“code”:4711,“message”:“Invalid access token, does not contain scopes:[account:read:settings:master].”}

I have already confirmed “account:read:settings:master” along with other scopes is already available in my scopes, I have already tried deactivation - activation and also have waited for almost 18 hours in thought of it might take some time to be used but still no luck.

Any help would be much appreciated.

---

<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:** [May 19, 2025, 11:37pm UTC](https://devforum.zoom.us/t/400-error-when-retrieving-account-settings-via-api/107498/3 "2025-05-19T23:37:48Z")

</div>

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