# Server to server oauth "unsupported grant type"

**URL:** <https://devforum.zoom.us/t/server-to-server-oauth-unsupported-grant-type/91136>\
**Category:** API and Webhooks\
**Created:** [June 30, 2023, 3:28pm UTC](https://devforum.zoom.us/t/server-to-server-oauth-unsupported-grant-type/91136 "2023-06-30T15:28:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gsingh28](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gsingh28](https://devforum.zoom.us/u/gsingh28)\
**Post date:** [August 1, 2023, 2:03am UTC](https://devforum.zoom.us/t/server-to-server-oauth-unsupported-grant-type/91136/2 "2023-08-01T02:03:30Z")

</div>

I get the same error when posting to /oauth/token from my python script. According the links below, setting the content type to “application/x-www-form-urlencoded” in the header might solve your problem. Wasn’t that simple for me, unfortunately, I’m still stuck.

- [Zoom API Oauth | Error: unsupported\_grant\_type - Zoom Community](https://community.zoom.com/t5/Marketplace/Zoom-API-Oauth-Error-unsupported-grant-type/m-p/62700)
- [Invalid Grant Type for Oauth app using PHP - #19 by alanj](https://devforum.zoom.us/t/invalid-grant-type-for-oauth-app-using-php/87191/19)

---

_[View the full topic](https://devforum.zoom.us/t/server-to-server-oauth-unsupported-grant-type/91136)._
