# Error with deeplink for oauth account-level app

**URL:** <https://devforum.zoom.us/t/error-with-deeplink-for-oauth-account-level-app/82351>\
**Category:** Meetings\
**Created:** [January 30, 2023, 7:06pm UTC](https://devforum.zoom.us/t/error-with-deeplink-for-oauth-account-level-app/82351 "2023-01-30T19:06:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonTrova](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jontrova/32/44811_2.png) [@JonTrova](https://devforum.zoom.us/u/JonTrova)\
**Post date:** [January 30, 2023, 7:06pm UTC](https://devforum.zoom.us/t/error-with-deeplink-for-oauth-account-level-app/82351/1 "2023-01-30T19:06:56Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
getDeeplink

**Description**  
I created an Oauth account-level app, and am trying to add the app to my account so that I can test it.  
I get an error about missing scopes, but don’t see those scopes available to add.

**Error?**  
{  
code: 4700,  
message: ‘Invalid access token, does not contain scopes: [app:deeplink:write:admin, zoomapp:inmeeting, app:deeplink:write].’  
}

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 30, 2023, 9:44pm UTC](https://devforum.zoom.us/t/error-with-deeplink-for-oauth-account-level-app/82351/2 "2023-01-30T21:44:37Z")

</div>

Hmm @JonTrova where are you seeing this error exactly? Have you successfully installed the app locally and are making a request to a specific endpoint? If so, which endpoint?

---

<div class="post-metadata">

**Author:** ![JonTrova](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jontrova/32/44811_2.png) [@JonTrova](https://devforum.zoom.us/u/JonTrova)\
**Post date:** [January 31, 2023, 4:03pm UTC](https://devforum.zoom.us/t/error-with-deeplink-for-oauth-account-level-app/82351/4 "2023-01-31T16:03:05Z")

</div>

Thanks Gianna - this error comes when testing the auth flow for my app - I had copied code from the reference app, which applies to a “Zoom Apps” app, specifically this line is where the error appears:

> <https://github.com/zoom/zoomapps-sample-js/blob/main/server/routes/auth.js#L53>

I believe the issue is that my app, as mentioned before, is an “Oauth” app, which means I don’t have the scopes to do this deeplink redirect.

However, I realized that I don’t need to redirect the user after they install the app, it’s more like a nice-to-have, so don’t think it’s holding me up.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 31, 2023, 9:17pm UTC](https://devforum.zoom.us/t/error-with-deeplink-for-oauth-account-level-app/82351/5 "2023-01-31T21:17:42Z")

</div>

Hi @JonTrova ,

Ahh I see. If you have a standard OAuth application it is not beneficial to use the Zoom Apps sample app. You will continue to receive this error if trying to use this auth flow with OAuth.
