We are following the OAuth Quickstart Guide to Oauth 2.0 login. All the steps work as expected, request sent to Hubspot, Authentication, and callback. But in the end, it returns this error
The "BAD_CLIENT_ID" error means the client ID is missing or unrecognized by HubSpot. This usually happens when the client ID is not correctly configured or retrieved from your HubSpot application settings.
Navigate to your developer portal account and click on your app name
Locate your client ID in the app's Settings screen
Copy and paste the correct client ID into your authentication request
If the error persists after confirming the correct client ID, verify that:
The OAuth authorization URL is properly formatted
Your app has been properly created and configured in HubSpot
The requested scopes match those configured in your app
Note that your app will not appear as a Connected App in a user's account until you successfully generate both the refresh token and the initial access token.
Best regards, Ernesto @ GiantFocalFound this answer helpful? Marking it as the solution helps both the community and me - thanks in advance!
The "BAD_CLIENT_ID" error means the client ID is missing or unrecognized by HubSpot. This usually happens when the client ID is not correctly configured or retrieved from your HubSpot application settings.
Navigate to your developer portal account and click on your app name
Locate your client ID in the app's Settings screen
Copy and paste the correct client ID into your authentication request
If the error persists after confirming the correct client ID, verify that:
The OAuth authorization URL is properly formatted
Your app has been properly created and configured in HubSpot
The requested scopes match those configured in your app
Note that your app will not appear as a Connected App in a user's account until you successfully generate both the refresh token and the initial access token.
Best regards, Ernesto @ GiantFocalFound this answer helpful? Marking it as the solution helps both the community and me - thanks in advance!