APIs & Integrations

GArnaldo
Membre

MISSING_SCOPE_GROUP - Error authenticating the App

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.

GArnaldo_0-1660674393542.png

The url with scopes:
https://app.hubspot.com/oauth/XXXXXX/authorize?client_id=XXXXXXXXX&response_type=code&redirect_uri=h...

 

This is return:

GArnaldo_4-1660675170921.png

Message:
Could not complete connection
Insufficient scopes were provided. Contact application developer

 

0 Votes
2 Réponses
Jaycee_Lewis
Gestionnaire de communauté
Gestionnaire de communauté

MISSING_SCOPE_GROUP - Error authenticating the App

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Votes
tominal
Guide | Partenaire solutions
Guide | Partenaire solutions

MISSING_SCOPE_GROUP - Error authenticating the App

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.

 

"https://app.hubspot.com/oauth/4704893/authorize?client_id=b121e950-a055-4279-95eb-63f9352d4356&respo...

 

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"
}

tominal_0-1660864876081.png

 

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!


Thomas Johnson
Community Champion


Kahu Software LLC
A Texan HubSpot consulting firm
https://kahusoftware.com
0 Votes