# List meetings fails with "Invalid access token, does not contain scopes: ..."

**URL:** <https://devforum.zoom.us/t/list-meetings-fails-with-invalid-access-token-does-not-contain-scopes/8895>\
**Category:** API and Webhooks\
**Created:** [March 18, 2020, 10:29am UTC](https://devforum.zoom.us/t/list-meetings-fails-with-invalid-access-token-does-not-contain-scopes/8895 "2020-03-18T10:29:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![masao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/masao/32/3701_2.png) [@masao](https://devforum.zoom.us/u/masao)\
**Post date:** [March 18, 2020, 10:29am UTC](https://devforum.zoom.us/t/list-meetings-fails-with-invalid-access-token-does-not-contain-scopes/8895/1 "2020-03-18T10:29:15Z")

</div>

**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](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Clone my demo repo: [https://github.com/masaok/zoom-oauth-demo](https://github.com/masaok/zoom-oauth-demo)
2. Copy and edit `.env.sample` to `.env`
3. `npm install`
4. `npm run start`

**Screenshots (If applicable)**

 ![Screen Shot 2020-03-18 at 3.27.14 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c6c653f24cbec2ebabd2a82b26934b7c36367ebf.jpeg)

**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)

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [March 18, 2020, 1:00pm UTC](https://devforum.zoom.us/t/list-meetings-fails-with-invalid-access-token-does-not-contain-scopes/8895/2 "2020-03-18T13:00:12Z")

</div>

Hi @masao,

Happy to help.

You are trying to make account level operations from a user-level app. Please create an account level app to perform these operations.

To know more, please visit: [https://marketplace.zoom.us/docs/guides/getting-started/app-types#account-level-user-managed-apps](https://marketplace.zoom.us/docs/guides/getting-started/app-types#account-level-user-managed-apps)

Let me know if this helps.

Thanks,  
Ojus

---

<div class="post-metadata">

**Author:** ![masao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/masao/32/3701_2.png) [@masao](https://devforum.zoom.us/u/masao)\
**Post date:** [March 18, 2020, 1:22pm UTC](https://devforum.zoom.us/t/list-meetings-fails-with-invalid-access-token-does-not-contain-scopes/8895/3 "2020-03-18T13:22:53Z")

</div>

Thank you @ojus.zoom … that works.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 18, 2020, 10:22pm UTC](https://devforum.zoom.us/t/list-meetings-fails-with-invalid-access-token-does-not-contain-scopes/8895/4 "2020-03-18T22:22:31Z")

</div>

Hey @masao,

For listing meetings with a user level OAuth app, pass in `me` instead of the userId:

`/users/me/meetings`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:33pm UTC](https://devforum.zoom.us/t/list-meetings-fails-with-invalid-access-token-does-not-contain-scopes/8895/5 "2020-08-21T19:33:27Z")

</div>

Closed on August 21, 2020, 7:33pm UTC


