Cannot install application on test account

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.pipedream.net&scope=contacts%20automation%20crm.objects.contacts.read%20crm.objects.contacts.write%20crm.objects.companies.write%20crm.objects.companies.read. 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://eoevjw7293lm1eq.m.pipedream.net&scope=contacts%20automation%20crm.objects.contacts.read%20crm.objects.companies.read where I get an error message meaning I’m missing some scope domains I believe

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_static_app=oauth-ui&hs_static_app_version=1.2413

But on the configuration of my app I only have the specified scopes

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 ?

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

Thank you! – Jaycee

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,