I have to perform the same Oauth flow for all my users. As the Hubspot’s docs says:
Only paid Marketing subscriptions will have API access to the scopes and tools listed below for Marketing accounts. Marketing Free accounts will not have API access to any of the Marketing-only scopes
so my question is: how can I use the same permissions for both free and paid Hubspot user?
For example I’m using the automation and contacts scopes but automation is available only for paid user but I can’t know which plan the user has so I can’t change the scope dinamilly.
Moreover if I establish the Oauth flow with the scopes automation and contacts and the user is not a paid user Hubspot returns the following error:
You do not have the correct role to grant these permissions. Please contact your administrator.
How can I solve?