Description
I’m getting the following response when using the /users/{userId}/meetings
endpoint:
API call {
code: 4700,
message: 'Invalid access token, does not contain scopes: [zms:meeting:read, meeting:read:admin, zms:meeting:write, meeting:write:admin]'
}
I know the Oauth authentication works along with the /users/me
endpoint because I can see my own profile.
I’ve already added all possible scopes in my Marketplace Oauth App.
Error
"code": 4700,
"message": "Invalid access token, does not contain scopes: [zms:meeting:read, meeting:read:admin, zms:meeting:write, meeting:write:admin]"
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Which Endpoint/s?
https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings
How To Reproduce (If applicable)
Steps to reproduce the behavior:
- Clone my demo repo: https://github.com/masaok/zoom-oauth-demo
- Copy and edit
.env.sample
to.env
npm install
npm run start
Screenshots (If applicable)
Additional context
If you go to: localhost port 4000 in a browser, you will see the account profile load correctly, so I know Oauth is working correctly, and a call to the API works.
However, when try to get a list of user meetings, it fails as shown above.
Also, I’ve added all possible scopes to my Oauth app. Here are the meeting-related ones:
meeting:read, meeting:write (I would put a screenshot, but I’m only allowed one screenshot as a new user)