OAuth Workflow for Webhook Not Working

New Member

I'm trying to set up a webhook to post data to my server when a change is made to our deals database. I went through the process of generating an authorization URL and clicking through to the redirect URI. I've captured the code from this site, and am trying to make a POST request to finalize the connection. However, I'm getting a 400 - BAD GRANT TYPE error. I've followed the guidelines for building this POST request exactly. What might be going wrong? Am trying to get a product online ASAP so help would be appreciated.

1 Reply 1
Community Manager

Hi @jasper-constell,


I hope all is well with you Smiley Happy


The HubSpot bad grant type error means that the grant_typeparameter isn't present or are malformed. For this, do you mind sharing with me how is the request being set up? 


Additionally, I found some related discussion regarding users who faced similar error that I'd love to share with you: