APIs & Integrations

Jarlax
Mitglied

Cannot install application on test account

lösung

I'm trying to install my app (263719) on a test account (9349859) by going to url https://app.hubspot.com/oauth/authorize?client_id=<client_id>&redirect_uri=https://eoevjw7293lm1eq.m.... There I can select my test account and I'm redirected to https://app.hubspot.com/oauth/9349859/authorize?client_id=<client_id>&redirect_uri=https://eoevjw729... where I get an error message meaning I'm missing some scope domains I believeCapture d’écran 2022-04-26 à 14.56.59.png

To be sure I looked in my browser console and got the error

{"status":"MISSING_SCOPE_GROUP","message":"client requires more scopes","correlationId":"aa5c138a-c5e6-47cd-94ce-e41dad0b4492"}

as a 400 response from https://api.hubspot.com/oauth/v1/application-authorizations?portalId=9349859&clienttimeout=14000&hs_...

But on the configuration of my app I only have the specified scopes Capture d’écran 2022-04-26 à 15.01.24.png

I also have CRM card extensions and webhooks on company and contact setup for the app that may imply some scope that are not listed here.

My app was already installed before. I uninstalled it from the test account and I'm trying to install it again.

I also have another app (263396) that has the same CRM card extensions and webhooks and I can install it without issues.

 

What am I missing ?

0 Upvotes
1 Akzeptierte Lösung
himanshurauthan
Lösung
Vordenker/-in | Elite Partner
Vordenker/-in | Elite Partner

Cannot install application on test account

lösung

Hello @Jaycee_Lewis, thank you for tagging me in.

 

So @Jarlax can you please cross-check the scopes that you are sending in OAuth URL?

 

The Scopes should be same in both apps and the OAuth URL that you are sending to connect your portal.

 

Also, the contacts scope is migrated please check the doc.

 

For current scopes, you need to send in OAuth URL that are contacts, automation, crm.objects.contacts.read and crm.objects.companies.read.

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
Jaycee_Lewis
Community-Manager/-in
Community-Manager/-in

Cannot install application on test account

lösung

Hi, @Jarlax 👋 Thanks for the great question. @himanshurauthan do you have any thoughts on this one? 

Thank you! – Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
himanshurauthan
Lösung
Vordenker/-in | Elite Partner
Vordenker/-in | Elite Partner

Cannot install application on test account

lösung

Hello @Jaycee_Lewis, thank you for tagging me in.

 

So @Jarlax can you please cross-check the scopes that you are sending in OAuth URL?

 

The Scopes should be same in both apps and the OAuth URL that you are sending to connect your portal.

 

Also, the contacts scope is migrated please check the doc.

 

For current scopes, you need to send in OAuth URL that are contacts, automation, crm.objects.contacts.read and crm.objects.companies.read.

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology