# Invalid access token, does not contain scopes for Zoom Session Granular Scopes

**URL:** <https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-for-zoom-session-granular-scopes/119613>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [October 22, 2024, 12:06pm UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-for-zoom-session-granular-scopes/119613 "2024-10-22T12:06:33Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![jake\_siney](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jake\_siney](https://devforum.zoom.us/u/jake_siney)\
**Post date:** [November 7, 2024, 1:50pm UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-for-zoom-session-granular-scopes/119613/23 "2024-11-07T13:50:46Z")

</div>

I am having the same issue, it seems to be the endpoint hasnt been updated to accept the new scopes. With no way to use the old scopes I am stuck.

---

<div class="post-metadata">

**Author:** ![zoomadmin11](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zoomadmin11](https://devforum.zoom.us/u/zoomadmin11)\
**Post date:** [November 8, 2024, 6:13am UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-for-zoom-session-granular-scopes/119613/24 "2024-11-08T06:13:08Z")

</div>

After some DMs I was able to identify my error, although I still don’t know what the real reason for the failure was. I guess that it had to do with differences in test accounts and actual customer accounts. Still guessing, I think that maybe test accounts were not updated in the way customer accounts were when switching from one scope type to the other and with keeping the old scope type around to assure backwards compatibility the apps created with test accounts allow for different user interaction which is no longer present in the newer customer accounts. But that’s just an absolutely uneducated guess.

In my case when creating the access token I messed up the parameters. Instead of making the call with “grant\_type:account\_credentials” and “account\_ID:XYZ” I made the call only with “grant\_type:client\_credentials” in the body instead of the params.  
Also note that the account\_id can be found in the S2S App right were the client\_id and client\_secret are.

Changing this minute detail created a different type of access\_token which, at first glance, looked absolutely indistinguishable from the token I created with the “wrong” call. Even the response body was exactly the same and it also listed all the scopes that I selected when creating the app.

Another thing which lead to my confusion was the error message in the response body when calling the App with the wrong access\_token as it displayed non existing scopes. However those scopes don’t need to be selected, as they can’t be during the creation of the app.

Sticking EXACTLY to the example calls presented in the zoom postman collection did the trick for me, after I got pointed to my error with the grant\_type and the missing account\_id.

---

<div class="post-metadata">

**Author:** ![jake\_siney](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jake\_siney](https://devforum.zoom.us/u/jake_siney)\
**Post date:** [November 12, 2024, 10:24am UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-for-zoom-session-granular-scopes/119613/25 "2024-11-12T10:24:42Z")

</div>

This worked for me! Thankyou. I was using the client\_credentials grant type as thats what I always use for oauth token calls.

---

<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:** [November 13, 2024, 10:25am UTC](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-for-zoom-session-granular-scopes/119613/26 "2024-11-13T10:25:29Z")

</div>

Closed on November 13, 2024, 10:25am UTC

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

[Previous page](https://devforum.zoom.us/t/invalid-access-token-does-not-contain-scopes-for-zoom-session-granular-scopes/119613.md?page=1)
