Necessary permissions to authorize the required scopes [].

Hi Hubspot Team,

We changed the scope of our app with client id b6ba99e1-08d4-11e6-8f96-53ea6567ef07 to optionally require the settings.users.teams.read scope. But some users where having trouble to install it, receiving the following error:

“Couldn’t complete the connection”
“Authorization failed because the user account doesn’t have the necessary permissions to authorize the required scopes [settings.users.teams.read ]. Please reach out to your account super admin to request the needed permissions.”

We then removed this scope from the app itself and from the login url, but now the same users are facing the same error, but werider since it has an empty list as the required scopes:

I was able to replicate this error and haven’t been able to solve it, even after uninstalling the app completely from our testing environment.

This error only affects non-admin users. Can you please help us to resolve this issue?

Best,

Daniel

providing more details about the error:

{
“status”: “error”,
“message”: “Authorization failed because your user account doesn’t have the necessary permissions to authorize the required scopes []. Please reach out to your account super admin to request the needed permissions.”,
“correlationId”: “8245f7b7-e556-4098-b3ce-2a138ca63bd2”,
“context”: {
“SCOPE_GROUPS”: [
“[]”
]
},
“category”: “MISSING_PERMISSIONS”,
“subCategory”: “AuthorizationErrorType.USER_MISSING_PERMISSION_VERBOSE”
}

Hey @DDarritchon - thank you for posting in the Community!
I’d like to tag in some Community experts to see if they have any insight on this error! @ChrisoKlepke, @miljkovicmisa, and @louischausse - any thoughts for how @DDarritchon can resolve this error?
Shane, Senior Community Moderator

Hi @STierney , thanks for your reply. We do need some urgent help, as our users are currently unable to use our HubSpot integration.

Another insight here is that we never used the optional_scope param, only the scope one.

Hi Hubspot Team,

More context about this error. One of our customers was able to work around this issue by doing the following:

  • User facing error message signing into Hubspot via Front integration.
  • User temporarily given Super Admin access
  • User is now able to sign into Hubspot via Front integration, with no error message.

Furthermore, we tested what would happen if this user had to sign into the integration again

  • Removed Super admin access from user
  • Had user log out of Hubspot integration within Front
  • Had user log back into Hubspot integration within Front
  • User was now successful logging into Front, even without Super admin permissions.

Hope this helps to pinpoint the bug.

Best,

Hi HubSpot team,

@STierney, @ChrisoKlepke, @miljkovicmisa, @louischausse Can you help us resolve this issue?

Best,

Hi HubSpot team,

@STierney, @ChrisoKlepke, @miljkovicmisa, @louischausse . Some users are still having this issue, do you have any recommendations on what to do?

Best,

Hey @SSpoerl - thank you so much for this update!
Shane, Senior Community Moderator

my pleasure, happy Friday and keep up the awesome work, love HubSpot and all you do!

Hey All, Front was able to assist me directly and I got my team all set back up.

As a temporary workaround, granting “Edit property settings” permission to non-admin users will allow them to log in. Once they’re authenticated, you can safely remove that permission and the plugin should continue to work for them. (see below)

I can confirm it worked for all of my users and continued to work after I removed this permission after everyone reconnected.
The Front team also told me they will be fixing this soon so new users added won’t have to go through the process.
Hope this helps!

Hi @DDarritchon , this is a frustrating one, but what you’re seeing lines up with how HubSpot handles OAuth scopes and user permissions internally.

What’s happening is that scopes are effectively “sticky” per user once an OAuth attempt has happened. Even if you remove settings.users.teams.read from both the app configuration and the authorize URL, HubSpot can still evaluate the user against the previously requested scopes tied to that app + user combo. That’s why you end up with the same error, and in the second case the empty scope list [] error. It’s basically a failed permission check against cached authorization expectations, not your current config.

The key part is that settings.users.teams.read is a super admin–only scope. Non-admin users can never approve it, so once HubSpot thinks that scope is required for them, they’re blocked even after you remove it.

The workaround shared by @SSpoerl is consistent with what I’ve seen in 2025 as well.

Temporarily granting a higher permission like “Edit property settings” lets the OAuth handshake complete, after which HubSpot seems to persist the granted token and stops re-evaluating the missing admin-only scope on subsequent loads. Once the user is authenticated, you can safely roll that permission back. This aligns with HubSpot’s permission model, where certain UI permissions implicitly allow internal settings reads during OAuth (Authentication overview - HubSpot docs )

If you want a cleaner long-term fix on your side, the safest pattern is:

  • Never introduce admin-only scopes as optional if non-admin users are expected to install or log in.
  • If a scope is only needed for backend enrichment, gate that logic server-side based on whether the token includes it, instead of requiring it during user authorization.
  • For users already affected, the only reliable reset is either the temporary permission escalation or testing with a brand-new user who never attempted OAuth before.

Unfortunately, uninstalling the app alone isn’t always enough, because the user-level authorization state can persist longer than expected.

Hope this helps clarify why it behaves this way and why that workaround actually works.