Hi everyone,
I’m running into an OAuth scopes issue while setting up my public app, and I could use some guidance.
Here are the details:
-
Scopes added in my HubSpot public app:
Loom | Free Screen & Video Recording Software | Loom -
Scopes defined in my code (SCOPES list):
Loom | Free Screen & Video Recording Software | Loom-
Hosting & Redirect URL:
Hosted on Render → https://hubspot-einrichtung.onrender.com/
Redirect URI: https://hubspot-einrichtung.onrender.com/oauth/callback -
Error when testing installation in my developer’s test account:
https://www.loom.com/i/92ad817c8fa647cab86663e286c85dbf
(“Die Autorisierung ist fehlgeschlagen, weil die angegebenen Bereiche nicht ausreichend sind.”) -
My user setup:
Super Admin
Sales Enterprise Trial + Service Enterprise Trial
Loom | Free Screen & Video Recording Software | Loom
My Goal
I want to create a public app that helps us set up client HubSpot accounts according to our schema more quickly. That means:
-
Creating deals, contacts, companies, lists
-
Defining and editing custom properties and objects
-
Eventually managing deal stages/pipelines via API
-
Later connecting all data to Supabase for persistence
--- ### The Issue Even though I have aligned the scopes in both the HubSpot developer app and my code, the install still fails with the *“scopes not sufficient” error.* --- ### My Questions-
Do my current scopes cover everything needed for my use case (objects, custom schemas, lists, etc.)?
-
Which additional scopes are required for deal stages and pipeline management?
-
Is there a way to debug whether the test account itself lacks access to the requested scopes, even with Super Admin + Enterprise Trial?
Any help or guidance would be hugely appreciated 🙏
-
-
-