APIs & Integrations

Davey1971
Member

Error while Initiate an Integration with Oauth 2.0

I am following the API Documentation at this link

Initiate an Integration with Oauth 2.0

https://app.hubspot.com/oauth/authorize - Initiate authentication for an app using OAuth 2.0

I go to the following URL
https://app.hubspot.com/oauth/authorize?client_id=X&scopes=contacts&redirect_uri=http://www.hubspot....

I choose the Trial Account

I get the following error

Uh oh!

An error occurred while validating the integration authorization.

0 Upvotes
2 Replies 2
Davey1971
Member

Error while Initiate an Integration with Oauth 2.0

Hello dadams,

I had the wrong Client ID.

Thanks for your help

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Error while Initiate an Integration with Oauth 2.0

Hi @Davey1971

That error usually means a problem with the client_id. Can you double check that you have the correct client ID from your app settings?

If the client ID is correct, can you message me directly with the full URL (including the client_id) and the Hub ID you’re seeing this with?