# Server to Server OAuth Zoom Authentication - Application Disabled

**URL:** <https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946>\
**Category:** API and Webhooks\
**Created:** [July 9, 2022, 7:52pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946 "2022-07-09T19:52:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![newcollar](https://avatars.discourse-cdn.com/v4/letter/n/dc4da7/32.png) [@newcollar](https://devforum.zoom.us/u/newcollar)\
**Post date:** [July 9, 2022, 7:52pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946/1 "2022-07-09T19:52:29Z")

</div>

Trying to complete the Zoom API OAuth Server to Server Flow. Following this guide: [https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/#enable-permissions](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/#enable-permissions)

## But I am getting the following response:

` data: { reason: 'The application is disabled', error: 'invalid_client' }`

## Appears active to me:

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/f/5f5737aaaef93464b21327cb07c0083470bbf685.png)

## Authentication request:

```auto
      let zoomAccessTokenConfig = {
        headers: {
          Authorization: `Basic ${Buffer.from('yXXXXXXXX:UXXXXXXXXX').toString('base64')}`,
        }
      }
    
    
        let zoomAccessTokenResponse = await axios.post('https://zoom.us/oauth/token?grant_type=account_credentials&account_id=oXXXXXXXX', null, zoomAccessTokenConfig)
            .then(response => {
                
                console.log('response');
                console.log(response);
    
                 return response?.Access_token;
                })

```

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 11, 2022, 3:31pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946/2 "2022-07-11T15:31:43Z")

</div>

Hi @newcollar

Welcome to our Community and thanks for reaching out to the Zoom Developer Forum!  
I see that you are having trouble authenticating with the Server to Server OAuth app, here is a link to a guide on How to use Server-to-Server OAuth with postman

> [@How to user Server-to-Sever OAuth app with Postman](https://devforum.zoom.us/t/how-to-user-server-to-sever-oauth-app-with-postman/70848):
>
> How to use our Server-to-Server OAuth with Postman? As some of you might be aware of, our JWT app is being deprecated by June 2023 and we encourage you to migrate to the newly introduced [Server-to-Server OAuth App](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app) That being said, here is a quick and simple guide on how to use or new app with Postman As stated in our documentation here: This new app type facilitates OAuth-authenticated requests between servers without end-user involvement. And this grant type enable your private server a…

Hope this helps,  
Elisa

---

<div class="post-metadata">

**Author:** ![harry2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/harry2/32/39799_2.png) [@harry2](https://devforum.zoom.us/u/harry2)\
**Post date:** [July 26, 2022, 7:49pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946/3 "2022-07-26T19:49:21Z")

</div>

I have the same issue and I have set it up correctly before…

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 29, 2022, 8:50pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946/4 "2022-07-29T20:50:17Z")

</div>

Hey @harry2  
Are you still having issues with your Server to Server OAuth app?  
Please let me know and I can help you figure out what might be going on.  
Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![harry2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/harry2/32/39799_2.png) [@harry2](https://devforum.zoom.us/u/harry2)\
**Post date:** [July 29, 2022, 9:38pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946/5 "2022-07-29T21:38:03Z")

</div>

yes. i got the same error as the OP did

`data: { reason: 'The application is disabled', error: 'invalid_client' }`

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 29, 2022, 9:47pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946/6 "2022-07-29T21:47:50Z")

</div>

Hey @harry2  
Could you please refer to this post:

> [@"Invalid api key or secret" error in Server-to-Server OAuth app](https://devforum.zoom.us/t/invalid-api-key-or-secret-error-in-server-to-server-oauth-app/72579/15):
>
> After some debugging together, we figured it out @beirne !!! Here are some steps to debug and fix this issue if you are getting the same error Make sure that you have the right permissions enabled in your account to be able to user the Server-to-Server OAuth app, you can do so in the Web Portal, by going to User Management \> Roles \> Role Settings \> Advanced features (this can only be done by an Administrator or the Owner of the account) Make sure tha…

This might be the root cause of your issue.  
Make sure that your Server to Server App is activated and you have all the permissions and settings enable in your account

---

<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:** [August 29, 2022, 7:48am UTC](https://devforum.zoom.us/t/server-to-server-oauth-zoom-authentication-application-disabled/71946/7 "2022-08-29T07:48:30Z")

</div>

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