APIs & Integrations

eagiraldor
Mitglied

Insufficient scopes were provided

lösung

I'm creating a public app for an integration but im still getting this error once i try to install the app.

eagiraldor_0-1669796552924.png

The URL is:
https://app.hubspot.com/oauth/23477576/authorize?scope=crm.objects.owners.read+crm.objects.contacts....
And my scopes on app are those:

eagiraldor_1-1669796711741.png

Can someone help me to understand why is not working?

 

0 Upvotes
1 Akzeptierte Lösung
eagiraldor
Lösung
Mitglied

Insufficient scopes were provided

lösung

The fix was remove all scopes on app and add just in install URL

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
9 Antworten
eagiraldor
Lösung
Mitglied

Insufficient scopes were provided

lösung

The fix was remove all scopes on app and add just in install URL

0 Upvotes
skimura
Stratege/Strategin | Platinum Partner
Stratege/Strategin | Platinum Partner

Insufficient scopes were provided

lösung

@eagiraldor 

Hi.

 

I think your 'URL' scope is insufficient.

URL's scopes: 8

app scpoes: 16

 

Your 'authorize URL' is copy from app 'Auth settings'?

If not, please copy and use this.

 

スクリーンショット 2022-11-30 18.11.18.png

 

Thanks.

0 Upvotes
eagiraldor
Mitglied

Insufficient scopes were provided

lösung

 Tried with the one provided from Auth settings and still the same (this is one created from a plugin provider) but i get same response with both URLs.
Also tried to remove the scopes from "optional scopes" and is the same

0 Upvotes
skimura
Stratege/Strategin | Platinum Partner
Stratege/Strategin | Platinum Partner

Insufficient scopes were provided

lösung

@eagiraldor 

 

'the one provided from Auth settings'

Can you paste the authorize url? ( copy from app setting )

URL 'scopes' count is same as app 'selected scopes?

 

Thanks.

0 Upvotes
eagiraldor
Mitglied

Insufficient scopes were provided

lösung
0 Upvotes
skimura
Stratege/Strategin | Platinum Partner
Stratege/Strategin | Platinum Partner

Insufficient scopes were provided

lösung

@eagiraldor 

 

Thank you for auth URL.

 

URL scopes is same as app scopes.

so, Is your account has required scopes?

 

please check below.

https://community.hubspot.com/t5/APIs-Integrations/Insufficient-scopes-were-provided-Please-contact-...

 

If you can authorize with minimum scopes (like 'tickets' only ),

your account doesn't have enough scopes.

 

 

0 Upvotes
eagiraldor
Mitglied

Insufficient scopes were provided

lösung

Thanks!
Where i can check or change account scopes?

0 Upvotes
skimura
Stratege/Strategin | Platinum Partner
Stratege/Strategin | Platinum Partner

Insufficient scopes were provided

lösung

@eagiraldor 

 

Please check this.

https://knowledge.hubspot.com/settings/edit-user-permissions

Please search your own account, and check your permission.

 

 

0 Upvotes
eagiraldor
Mitglied

Insufficient scopes were provided

lösung

Hi @skimura 

I'm already a super admin, so i should have all permissions

0 Upvotes