Platform

Developers

Resources

Authentication

Authentication

HubSpot Insufficient Scopes Were Provided

HubSpot Insufficient Scopes Were Provided

Trying to debug the HubSpot "Insufficient Scopes Were Provided" error? Here's how to fix it.

TABLE OF CONTENTS

    Table of contents will appear here.
    Table of contents will appear here.

Example response

“Insufficient scopes were provided. Please contact the app developer”

What causes the HubSpot insufficient scopes error?

An insufficient scopes error happens when there is a mismatch of scopes in your application's HubSpot install URL (OAuth).

For example, let's say your HubSpot application only has the cms.domain.read scope selected.

If your install URL has different/additional scopes, such as both cms.domain.read and cms.domain.write, you will receive the "Insufficient scopes were provided. Please contact the app developer" error.


Fixing the insufficient scopes error

In your HubSpot developer account, go to your application → Basic infoAuthScopes. Ensure only the scopes you selected for your HubSpot application are present in the install URL.

For the example above, the correct install URL would only contain cms.contain.read.

https://app.hubspot.com/oauth/authorize?client_id=$CLIENT_ID&redirect_uri=$REDIRECT_URI&scope=cms.domains.read

For a list of all HubSpot scopes, check out this document.

Setting scopes in Paragon

If you are building a native HubSpot integration using Paragon, given that the SDK provides managed auth, you won't need to worry about including the right scopes in the install URL.

Simply ensure that the scopes you select in Paragon for HubSpot match the scopes you've selected in your HubSpot developer app, and you'll be good to go.

Ready to get started?

Join 100+ SaaS companies that arescaling their integration roadmaps with Paragon.

Ready to get started?

Join 100+ SaaS companies that arescaling their integration roadmaps with Paragon.

Ready to get started?

Join 100+ SaaS companies that arescaling their integration roadmaps with Paragon.

Ready to get started?

Join 100+ SaaS companies that arescaling their integration roadmaps with Paragon.