# Error while generating the token using Server 2 server app

**URL:** <https://devforum.zoom.us/t/error-while-generating-the-token-using-server-2-server-app/132043>\
**Category:** Zoom Apps\
**Tags:** api, server-to-server\
**Created:** [April 28, 2025, 1:08pm UTC](https://devforum.zoom.us/t/error-while-generating-the-token-using-server-2-server-app/132043 "2025-04-28T13:08:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalithaditya32](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lalithaditya32/32/58839_2.png) [@lalithaditya32](https://devforum.zoom.us/u/lalithaditya32)\
**Post date:** [April 28, 2025, 1:08pm UTC](https://devforum.zoom.us/t/error-while-generating-the-token-using-server-2-server-app/132043/1 "2025-04-28T13:08:45Z")

</div>

### Format Your New Topic as Follows:

**Zoom Apps Configuration**  
_Share the Zoom Apps configuration (e.x. React, Vanilla JS, Node.js) you’re working with to give relevant context._

**Description**  
I am using below command to generate the access token with Server 2 server app but getting an error

curl --location --request POST ‘[https://zoom.us/oauth/token?grant\_type=account\_credentials&account\_id=ACCOUNT\_ID](https://zoom.us/oauth/token?grant_type=account_credentials&account_id=ACCOUNT_ID)’  
-header ‘Authorization: Basic (Base64 encode CLIENT\_ID:CLIENTSECRET)’

**Error?**  
{“reason”:“unsupported grant type”,“error”:“unsupported\_grant\_type”}

---

<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:** [April 28, 2025, 3:59pm UTC](https://devforum.zoom.us/t/error-while-generating-the-token-using-server-2-server-app/132043/2 "2025-04-28T15:59:18Z")

</div>

Hi @lalithaditya32  
Thanks for reaching out to us!  
Can you please confirm if your app is active?  
In the Marketplace dashboard, head to your app and make sure to go to the Activation tab to verify the app is activated

---

<div class="post-metadata">

**Author:** ![lalithaditya32](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lalithaditya32/32/58839_2.png) [@lalithaditya32](https://devforum.zoom.us/u/lalithaditya32)\
**Post date:** [April 29, 2025, 6:16am UTC](https://devforum.zoom.us/t/error-while-generating-the-token-using-server-2-server-app/132043/3 "2025-04-29T06:16:59Z")

</div>

Yes the s2s app is in ACTIVATED status.

---

<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:** [April 29, 2025, 1:47pm UTC](https://devforum.zoom.us/t/error-while-generating-the-token-using-server-2-server-app/132043/4 "2025-04-29T13:47:55Z")

</div>

Hey @lalithaditya32  
I will send you a DM to take a closer look  
Please, follow up accordingly
