APIs & Integrations

eagiraldor
Member

Insufficient scopes were provided

SOLVE

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 Accepted solution
eagiraldor
Solution
Member

Insufficient scopes were provided

SOLVE

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

View solution in original post

0 Upvotes
9 Replies 9
eagiraldor
Solution
Member

Insufficient scopes were provided

SOLVE

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

0 Upvotes
skimura
Contributor | Platinum Partner
Contributor | Platinum Partner

Insufficient scopes were provided

SOLVE

@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
Member

Insufficient scopes were provided

SOLVE

 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
Contributor | Platinum Partner
Contributor | Platinum Partner

Insufficient scopes were provided

SOLVE

@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
Member

Insufficient scopes were provided

SOLVE
0 Upvotes
skimura
Contributor | Platinum Partner
Contributor | Platinum Partner

Insufficient scopes were provided

SOLVE

@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
Member

Insufficient scopes were provided

SOLVE

Thanks!
Where i can check or change account scopes?

0 Upvotes
skimura
Contributor | Platinum Partner
Contributor | Platinum Partner

Insufficient scopes were provided

SOLVE

@eagiraldor 

 

Please check this.

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

Please search your own account, and check your permission.

 

 

0 Upvotes
eagiraldor
Member

Insufficient scopes were provided

SOLVE

Hi @skimura 

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

0 Upvotes