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

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


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.

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.