We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Aug 16, 2022 2:42 PM
I would like some help, with the authentication of my application.
After they changed the scopes, I went to change the authentication url and I'm getting this return.
The url with scopes:
https://app.hubspot.com/oauth/XXXXXX/authorize?client_id=XXXXXXXXX&response_type=code&redirect_uri=h...
This is return:
Message:
Could not complete connection
Insufficient scopes were provided. Contact application developer
Aug 18, 2022 4:34 PM
Hey, @GArnaldo 👋 Thanks for including those details. @tominal @albertsg @louischausse can you help @GArnaldo with next steps or thoughts on troubleshooting their authentication?
Thank you very much! — Jaycee
Aug 18, 2022 7:23 PM
Hey @GArnaldo, replacing your Client ID and App ID in that URL did not help when your anchor tag contained all of the values 😉
It looks like your URL has mismatched scopes.
array(13) { [0]=> string(23) "crm.objects.quotes.read" [1]=> string(24) "crm.objects.quotes.write" [2]=> string(23) "crm.schemas.quotes.read" [3]=> string(22) "crm.schemas.deals.read" [4]=> string(8) "timeline" [5]=> string(5) "oauth" [6]=> string(23) "crm.objects.owners.read" [7]=> string(26) "crm.objects.contacts.write" [8]=> string(27) "crm.objects.companies.write" [9]=> string(26) "crm.objects.companies.read" [10]=> string(22) "crm.objects.deals.read" [11]=> string(25) "crm.schemas.contacts.read" [12]=> string(17) "crm.objects.deals" }
That last scope in your URL "crm.objects.deals" does not match to any granular scope that I know about. Maybe I'm wrong.
Hope that helps!