We are attempting to utilize the marketing-email scope to send emails.
We have tried adding it to a legacy app and to a project based app.
The legacy app refuses it in the UI with “your account doesn’t have access to this scope”
The project based app refuses silently on deploy and you have to dig into the console to find why.
{
“type”: “internalError”,
“internalError”: {
“type”: “PUBLIC_EXCEPTION”,
“message”: “Authorization failed because this account doesn’t have access to the scopes required by the app. Please contact HubSpot support.”,
“chirpErrorType”: “HUBSPOT_PUBLIC_EXCEPTION”
},
“correlationId”: “abc”
}
Our account has the Marketing Hub Professional sub.
I have tried this with several different users.
Any ideas?
The marketing-email scope only works if the HubSpot account actually has access to Marketing Email. If the portal doesn’t include that tool, the scope will be rejected no matter which app type you use.
Check these:
- Make sure the account has Marketing Email (not just a Marketing Hub subscription without email).
- Do the install with a Super Admin or someone who has App Marketplace permissions.
- If your app doesn’t require email in every install, move `marketing-email` to `optional_scope` so accounts without email can still connect.
If the portal should have Marketing Email but the scope still fails, grab the Hub ID and correlationId from the error and give those to HubSpot Support they can verify entitlement on the backend.
Hopefully this provides the clarity you needed. If it resolves your question, please mark it as the accepted solution and upvote to guide other members.