# Invalid access token, does not contain scopes:\[meeting:read:meeting:master\]

**URL:** <https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-meetingmeeting-master/111267>\
**Category:** Meetings\
**Created:** [June 4, 2024, 11:11am UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-meetingmeeting-master/111267 "2024-06-04T11:11:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cybernetica](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@cybernetica](https://devforum.zoom.us/u/cybernetica)\
**Post date:** [June 4, 2024, 11:11am UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-meetingmeeting-master/111267/1 "2024-06-04T11:11:26Z")

</div>

### Before Creating a New Topic:

_If you’re experiencing unexpected API/Zoom API Events (webhooks) behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:_

- Zoom Developer Changelog for Dev Product Changes: https:/#/marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/
- General Troubleshooting: https:/#/devsupport.zoom.us/hc/en-us
- To Submit a Ticket for Unexpected API/Zoom API Events Behavior: https:/#/support.zoom.us/hc/en-us
- For General & Integrations Related Guidance: https:/#/community.zoom.com/
- For Troubleshooting Webhooks: https:/#/devforum.zoom.us/t/we-are-not-receiving-webhooks-as-expected-heres-what-to-do/64846/2

* * *

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
_Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context._

https:/#/developers.zoom.us/docs/api/rest/reference/zoom-api/ma/#operation/meeting  
https:/#/developers.zoom.us/docs/api/rest/reference/zoom-api/ma/#operation/meetingStatus

**Description**  
_Details on your question, workflow or the problem you’re trying to solve._

I am trying to end meetings via API for an user I have. Also for testing I tried to GET the meeting status, but I got another error.

I am using the “Owner” role account for this API. I have enabled everything I can in the “scopes” section of the Server-to-Server-OAuth app with regards to ‘meetings’.

**Error?**  
_The full error message or issue you are running into, where applicable._

{“code”:4711,“message”:“Invalid access token, does not contain scopes:[meeting:read:meeting:master].”}  
{“code”:4711,“message”:“Invalid access token, does not contain scopes:[meeting:update:status:master].”}

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. Request URL / Headers **(without credentials or sensitive info like emails, uuid, etc.)** / Body_

```bash

curl -s -X POST https://zoom.us/oauth/token \
            -d 'grant_type=account_credentials' \
            -d "account_id=<accound_id>" \
            -H 'Host: zoom.us' \
        -H "Authorization: Basic <base64(client_id:client_secret)>" | jq -r '.access_token'

curl -X PUT https://api.zoom.us/v2/accounts/<account_id>/meetings/<meeting_id>/status --header "Authorization: Bearer <token>" --header "Content-Type: application/json" --data '{"action":"end"}'

```

_2. Authentication method or app type_

Server-to-Server-OAuth

_3. Any errors_

Invalid access token.

---

<div class="post-metadata">

**Author:** ![cybernetica](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@cybernetica](https://devforum.zoom.us/u/cybernetica)\
**Post date:** [June 5, 2024, 6:49am UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-meetingmeeting-master/111267/2 "2024-06-05T06:49:05Z")

</div>

Aha okay, super weird. As the Owner account for all of the subaccounts I had to use the normal meeting API not the master. https:/#/developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meeting

No clue why it is like that.
