APIs & Integrations

TesterSquad
Member

Oauth Error - BAD_CLIENT_ID

I have used POST API https://api.hubapi.com/oauth/v1/token to get access and refresh token and have passed all the required parameters client id, client secret, code, redirect uri, grant type. But the API return an error status "BAD_CLIENT_ID". I have used correct client id.

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Oauth Error - BAD_CLIENT_ID

Hey @TesterSquad,

 

Here's one forum thread in which users got the similar error but got resolve - HubSpot Community - Oauth Token BAD_CLIENT_ID missing or unknown client id - HubSpot Community

 

Could you try and see if adding the parameters to the request makes it works? If it doesn't, could you share with me the following:

1. Portal ID that you'd like to install the app on

2. App ID

0 Upvotes