# Missing or unknown grant type

**URL:** <https://community.hubspot.com/t/missing-or-unknown-grant-type/118752>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [October 20, 2024, 7:00pm UTC](https://community.hubspot.com/t/missing-or-unknown-grant-type/118752 "2024-10-20T19:00:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sosv](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@sosv](https://community.hubspot.com/u/sosv)\
**Post date:** [October 21, 2024, 5:03pm UTC](https://community.hubspot.com/t/missing-or-unknown-grant-type/118752/4 "2024-10-21T17:03:08Z")

</div>

Hi,

I made it work with the following code:

 ![sosv_1-1729530172523.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/f/efc45351fe282aa62df1c3eea71db977f9c07309.png)

Looks like the qs.stringify is the trick here and changing form to data…

---

_[View the full topic](https://community.hubspot.com/t/missing-or-unknown-grant-type/118752)._
