Couldn't complete the connection: Insufficient scopes (HubSpot)
This error means the HubSpot sign-in asked for fewer OAuth scopes than the connector needs, or different ones than your HubSpot app allows. Add the missing scopes to the HubSpot app and the connector's Security tab so they match exactly, then delete and recreate the connection.
Sohail Hussain9 min readShort answer
- HubSpot is rejecting the sign-in because the scopes your connector asks for do not match the scopes configured on the HubSpot app. Every scope marked required in the app must be in the connector's Scope field.
- Fix the Scope field on the custom connector's Security tab, make the HubSpot app's required scopes match it, then delete the old connection and create a new one.
- If you use Microsoft's built-in HubSpot connector, you cannot edit scopes. Report the error to Microsoft with the details below.
You are connecting HubSpot from Power Apps, Power Automate or Logic Apps, you get through the HubSpot sign-in, and the flow stops with this:
Couldn't complete the connection Insufficient scopes were provided. Please contact the app developer.
The message comes from HubSpot, not from Power Platform. The person signing in can't fix it, which is why it says "contact the app developer." If you are the one who built the connector or the HubSpot app, that developer is you.
Why it happens
HubSpot's help center documents a close variant of this error: "Authorization failed because the provided scopes are insufficient." It occurs when the app's configuration includes a required scope that is missing from the scope query parameter of the app's install URL. Putting the required scope in the optional_scope parameter also triggers the error. The wording of your message differs slightly, but the mechanism looks the same: the authorization request and the app configuration disagree.
In Power Platform terms, the "install URL" is the authorization request that the connector builds. Its scope value comes from the Scope field on the custom connector's Security tab. The causes below are listed from most to least common.
- The connector's Scope field is empty or shorter than the app's required scopes. An empty field sends no scopes, so HubSpot sees required scopes missing.
- The HubSpot app lists scopes as required that the connector never asks for. Often someone added scopes to the app later and never updated the connector.
- Scopes are marked optional in the app. HubSpot's page says an optional scope incorrectly placed in the scope parameter causes a related mismatch error. I have not seen a Power Platform field for HubSpot's
optional_scopeparameter, so I would make the scopes required in the app and list them in the connector. - You are using the built-in HubSpot connector. Its app and scope list belong to its maintainers. The issue was reported in the PowerPlatformConnectors repository on GitHub; I could not confirm a fix from there.
- A stale connection. I can't confirm from the documentation that an existing connection picks up changed scopes. Deleting and recreating it is cheap and removes the doubt.
A different HubSpot error looks similar but has a different cause. "You don't have permission to connect this integration" means the HubSpot user lacks the roles or permissions to authorize the requested scopes.
Step-by-step fixes
Fix 1: set the scopes on your custom connector
- In Power Apps or Power Automate, open Custom connectors and edit your HubSpot connector.
- Open the Security tab. Check that Authentication type is OAuth 2.0 and that Identity Provider is Generic Oauth 2.
- Confirm the Client id, Client secret, Authorization Url and Token Url belong to your HubSpot app. The client ID and secret are those of the application you registered with the service.
- In Scope, enter every scope the app requires, separated by spaces. Microsoft's own examples for other providers use space-separated values, for example Files.Read.All User.Read for Microsoft Graph. For HubSpot it looks like this:
oauth crm.objects.contacts.read crm.objects.contacts.write crm.objects.deals.read
- Select Update connector.
The scope names above are examples. Use the exact names from your own HubSpot app's Auth page, and add only the ones your actions call.
Fix 2: make the HubSpot app match
- Sign in to your HubSpot developer account and open the app.
- Go to the Auth tab. Other vendors' setup guides for HubSpot use this tab for scopes, client ID and secret, and redirect URL.
- Compare the required scopes with the connector's Scope field. HubSpot's own advice is that every install URL must include every required scope selected in the app configuration.
- Remove required scopes the connector does not need, or add them to the connector. The two lists should be identical.
- Check the Redirect URL. Custom connectors that use OAuth 2.0 use a per-connector redirect URI, so copy the one shown on your connector's Security tab after saving. Older connectors may need the Update to unique redirect URL box checked, then saved. Once that is done, remove the old global redirect URI from your OAuth apps.
- Save the app.
Do not mix required and optional
A scope that the HubSpot app marks as optional or conditionally required must not be sent as a plain required scope. HubSpot treats that as a mismatch. If you can't send optional scopes from your connector, make the scope required in the app instead.
Fix 3: recreate the connection
- In Power Automate or Power Apps, open Connections and delete the HubSpot connection.
- Create a new connection to your custom connector.
- On HubSpot's consent screen, read the permissions listed. They should match your scope list.
- If HubSpot asks which account to use, pick the correct portal.
Fix 4: have the right person authorize
If sign-in works for one person and not for others, check HubSpot roles. One vendor's setup guide says you should be a super admin, or have App Marketplace Access permission plus the user permissions to accept the scopes the app requests. Ask a HubSpot super admin to create the connection, then share it as your tenant allows.
Also check the portal's subscription. HubSpot says an account without the tools behind a requested scope cannot connect the integration; for example, a Marketing Hub Starter account can't connect one that needs workflows. That error reads differently, but it is worth ruling out if you request unusual scopes.
Fix 5: built-in HubSpot connector
You can't edit scopes on a certified connector. Your options are:
- Build a custom connector on your own HubSpot app (Fixes 1 to 3). You then maintain it.
- Open a Microsoft support case with the details in the next sections.
Which cause do you have
| Symptom | Likely cause | Fix |
|---|---|---|
| Scope field on the Security tab is empty | Connector sends no scopes | Fix 1 |
| App has required scopes the connector doesn't list | Lists out of sync | Fix 2 |
| Scopes are optional in the app | Optional vs required mismatch | Fix 2 |
| Error persists after editing settings | Old connection | Fix 3 |
| Works for an admin, fails for others | HubSpot user permissions | Fix 4 |
| Built-in connector, nothing to edit | Maintainer's app | Fix 5 |
Keep one scope list
Store your scope list in one note and update the HubSpot app and the connector's Scope field in the same sitting. Most repeat failures come from changing only one side.
Checklist before you try again
- The connector's Scope field is not empty.
- Every required scope in the HubSpot app appears in that field, spelled identically.
- No scope is marked optional in the app while being sent as required.
- The redirect URL on the connector's Security tab is registered in the HubSpot app.
- The client ID and secret in the connector come from this HubSpot app.
- The old connection is deleted and a new one created.
- The person signing in has permission to install apps in the HubSpot portal.
If nothing works
For a custom connector, contact HubSpot developer support, since the rejection comes from HubSpot's authorization page. For the built-in connector, contact Microsoft support or comment on the existing GitHub issue. HubSpot's help page on this class of error is a good reference to attach. Include:
- The exact error text and the time of the attempt with your timezone.
- Whether the connector is built-in or custom.
- The scope list from the HubSpot app's Auth tab and from the connector's Scope field.
- The redirect URL, the HubSpot portal ID and the steps you already tried.
Never send the client secret.
Subject: HubSpot OAuth error "Insufficient scopes were provided"
Hello,
Connecting HubSpot from Power Automate fails at the end of OAuth sign-in with:
"Couldn't complete the connection Insufficient scopes were provided. Please contact the app developer."
Time of last attempt: {date, time, timezone}
Connector type: {custom or built-in}
HubSpot portal ID: {portal-id}
App ID: {app-id}
Scopes required in the app: {list}
Scopes in the connector Scope field: {list}
Redirect URL registered in the app: {url}
Already tried: matched scope lists, deleted and recreated the connection, signed in as a super admin.
Please tell us which scope or parameter the authorization request is missing.
Common questions
Why does the message tell me to contact the app developer?
HubSpot shows it to end users, who can't change an app's scopes. If you built the connector or the HubSpot app, you are the developer and the fix is in your settings.
Do I need to change anything if I add a scope later?
Yes. Update the connector's Scope field, make the same change in the HubSpot app, and recreate the connection. Then run one action per scope to test.
Can I just request every scope to be safe?
I'd skip that. Every extra scope widens what the app can read and write in your CRM, and users have to approve a longer consent screen. Request only what your actions call.
Is this an outage?
No. It is a configuration mismatch, and it will fail the same way until the scope lists agree.
For current scope names and app setup, see HubSpot's help page on resolving a request for integration permissions error and Microsoft's custom connectors overview.
Explore: Email Marketing Strategy
Related Articles
414 Request-URI Too Large in n8n's Amazon SES node: fix
The error 414 Request-URI Too Large in n8n's AWS SES node means a server in the path refused a request whose URL was too long, which a long HTML body can cause when it travels in the URL. Send through the SES v2 API with an HTTP Request node, or use SES SMTP.
Access denied, bad outbound sender: Outlook cold email fix
"Access denied, bad outbound sender" (550 5.1.8) means Microsoft 365 has put your mailbox on its restricted users list for spam-like sending. An admin must unblock it under Restricted entities in the Microsoft Defender portal. Then clean your list, lower your volume and resume gradually.
Acoustic Campaign "Application error" on login: bookmark fix
Acoustic Campaign shows "application error" at login when you open it from a bookmark saved while you were logged in, because the bookmark carries the old session. Log out, type your pod URL (campaign-us-[X].goacoustic.com) into the address bar, log in, then save a fresh bookmark.
ActiveCampaign 502 Bad Gateway and Tags Failed to Load: Fixes
"Bad gateway Error code 502" in ActiveCampaign means Cloudflare, the proxy in front of the app, got no valid response from ActiveCampaign's servers. That is usually their side. Check the status page, retry in a clean browser session, clear cookies, then send support the Ray ID if it persists.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free