# getDeeplink returns \`Invalid access token, does not contain scopes:\[\]\`

**URL:** <https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277>\
**Category:** Zoom Apps\
**Created:** [June 20, 2024, 9:25am UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277 "2024-06-20T09:25:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghassen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ghassen/32/49511_2.png) [@ghassen](https://devforum.zoom.us/u/ghassen)\
**Post date:** [June 20, 2024, 9:25am UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/1 "2024-06-20T09:25:39Z")

</div>

**Description**  
I am testing the demo projects `zoomapps-sample-js` and `zoomapps-advancedsample-react`. During the installation of these apps, I encountered an error when executing the following code:

`const deepLinkResponse = await zoomApi.getDeeplink(zoomAccessToken);`

**Error?**  
When making a request to `v2/zoomapp/deeplink`, I receive the following error message:

```auto
{
  "code": 4711,
  "message": "Invalid access token, does not contain scopes:[]"
}

```

---

<div class="post-metadata">

**Author:** ![Gurvan](https://avatars.discourse-cdn.com/v4/letter/g/9de0a6/32.png) [@Gurvan](https://devforum.zoom.us/u/Gurvan)\
**Post date:** [June 20, 2024, 6:50pm UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/2 "2024-06-20T18:50:28Z")

</div>

**I’ve the same error!**

Hi,  
I’m working on the zoom app for some months now and I created 3 zoom applications.  
2 of these applications was created before Zoom changed the way to configure the scopes of the zoom app. The deeplink api works correctly with these 2 apps.  
And I created the third one with the new configuration of the zoom app. It was working correctly at first and now I have the same error when I try to get the deeplink. My application is correctly created in the zoom client but I don’t have the deep link for the redirection.  
This is the error I get from the deepLink api:

```auto
data: {
    code: 4711,
    message: 'Invalid access token, does not contain scopes:[].'
}

```

In order to do some tests I tried to test the third application with the credential of one of the first app and it works well.  
So I suppose there is a bug on the zoom side with the new way to create a Zoom App.

---

<div class="post-metadata">

**Author:** ![Gurvan](https://avatars.discourse-cdn.com/v4/letter/g/9de0a6/32.png) [@Gurvan](https://devforum.zoom.us/u/Gurvan)\
**Post date:** [July 2, 2024, 3:32pm UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/3 "2024-07-02T15:32:41Z")

</div>

This issue now seems to have been solved.

Thanks

---

<div class="post-metadata">

**Author:** ![ghassen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ghassen/32/49511_2.png) [@ghassen](https://devforum.zoom.us/u/ghassen)\
**Post date:** [July 2, 2024, 5:12pm UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/4 "2024-07-02T17:12:26Z")

</div>

getDeeplink seems to work now. But when Im installing the app, Im having error code 122. @Gurvan Did you get the same error?

---

<div class="post-metadata">

**Author:** ![Gurvan](https://avatars.discourse-cdn.com/v4/letter/g/9de0a6/32.png) [@Gurvan](https://devforum.zoom.us/u/Gurvan)\
**Post date:** [July 2, 2024, 7:11pm UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/5 "2024-07-02T19:11:00Z")

</div>

Hello @ghassen ,  
I nerver had this error before.  
Where did you get this ?

---

<div class="post-metadata">

**Author:** ![ghassen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ghassen/32/49511_2.png) [@ghassen](https://devforum.zoom.us/u/ghassen)\
**Post date:** [July 3, 2024, 8:08am UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/6 "2024-07-03T08:08:08Z")

</div>

I got it when I was installing the app. I was using ubuntu. I switched to windows and I didn’t get the 122 error.  
@Gurvan Are you by any chance using an OS different than ubuntu?

---

<div class="post-metadata">

**Author:** ![Gurvan](https://avatars.discourse-cdn.com/v4/letter/g/9de0a6/32.png) [@Gurvan](https://devforum.zoom.us/u/Gurvan)\
**Post date:** [July 3, 2024, 12:47pm UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/7 "2024-07-03T12:47:21Z")

</div>

Hi @ghassen ,  
Your zoom client is installed on Ubuntu, is that what you mean?

Personnaly I started to work on Ubuntu but the zoom client is not fully compatible with the zoom apps. So I switched to windows to use the Zoom client and I have a VM under fedora to host my zoom app.

[Here](https://developers.zoom.us/docs/zoom-apps/#supported-operating-systems) you can see the Supported operating systems.

---

<div class="post-metadata">

**Author:** ![ghassen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ghassen/32/49511_2.png) [@ghassen](https://devforum.zoom.us/u/ghassen)\
**Post date:** [July 3, 2024, 2:53pm UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/8 "2024-07-03T14:53:35Z")

</div>

@Gurvan Thanks, this helped

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [November 13, 2024, 9:37pm UTC](https://devforum.zoom.us/t/getdeeplink-returns-invalid-access-token-does-not-contain-scopes/112277/9 "2024-11-13T21:37:32Z")

</div>

Glad that solution was helpful!
