# Unsupported grant type error

**URL:** <https://devforum.zoom.us/t/unsupported-grant-type-error/99096>\
**Category:** API and Webhooks\
**Created:** [November 27, 2023, 6:20pm UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096 "2023-11-27T18:20:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajeev.chandran](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rajeev.chandran](https://devforum.zoom.us/u/rajeev.chandran)\
**Post date:** [November 27, 2023, 6:20pm UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096/1 "2023-11-27T18:20:49Z")

</div>

Hello,

I’m getting "unsupported grant type error " error while trying to get the access token. I’m using Server-to-Server OAuth App. Here is the cURL code,

curl --location ‘[https://zoom.us/oauth/token](https://zoom.us/oauth/token)’   
–header ‘Content-Type: application/x-www-form-urlencoded’   
–header ‘Authorization: Basic {base64 clientid:clientsecret}’   
–data-urlencode ‘grant\_type=account\_credentials’   
–data-urlencode ‘account\_id={accountid}’

Response:  
{  
“reason”: “unsupported grant type”,  
“error”: “unsupported\_grant\_type”  
}

Please help me to solve the problem!

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [November 27, 2023, 8:25pm UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096/2 "2023-11-27T20:25:47Z")

</div>

@rajeev.chandran can you try to make the same request through POSTMAN or a similar tool and see if you are still seeing the error?

---

<div class="post-metadata">

**Author:** ![rajeev.chandran](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rajeev.chandran](https://devforum.zoom.us/u/rajeev.chandran)\
**Post date:** [November 28, 2023, 2:46am UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096/3 "2023-11-28T02:46:55Z")

</div>

Hello,

Despite several attempts, the problem persists. When using POSTMAN and passing the Account ID as the Account Number under the Profile section, I still receive the same error :  
Response:  
{  
“reason”: “unsupported grant type”,  
“error”: “unsupported\_grant\_type”  
}

Interestingly, when I use the Grant Type as “client\_credentials,” I can successfully obtain the access token. However, this token is not functional when making other API calls, such as Meeting Creation or Fetch User Info. I received the following error:  
{  
“code”: 200,  
“message”: “Account does not enable REST API.”  
}

I appreciate your ongoing assistance in resolving this matter.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [November 28, 2023, 2:58am UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096/4 "2023-11-28T02:58:32Z")

</div>

This is probably something simple but I am not able to troubleshoot it just by the information provided. I am sending you a meeting link to schedule a meeting with me… Lets troubleshoot it over the meeting.

---

<div class="post-metadata">

**Author:** ![rajeev.chandran](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rajeev.chandran](https://devforum.zoom.us/u/rajeev.chandran)\
**Post date:** [November 28, 2023, 4:00am UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096/5 "2023-11-28T04:00:14Z")

</div>

Please share the meeting link. I will attend the meeting.

---

<div class="post-metadata">

**Author:** ![rajeev.chandran](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rajeev.chandran](https://devforum.zoom.us/u/rajeev.chandran)\
**Post date:** [November 28, 2023, 4:45am UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096/6 "2023-11-28T04:45:13Z")

</div>

The issue has been resolved.

I was trying with a different APP type, not the Server OAuth Application credentials.

Thank you for the prompt assistance.

---

<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 29, 2023, 4:45am UTC](https://devforum.zoom.us/t/unsupported-grant-type-error/99096/7 "2023-11-29T04:45:41Z")

</div>

Closed on November 29, 2023, 4:45am UTC

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