HubSpot - Authorization failed because the provided scopes are insufficient

Hey Darren,

Could you help me with this issue?

I'm getting the following error when trying to authenticate via HubSpot:

Couldn’t complete the connection
Authorization failed because the provided scopes are insufficient. Please contact the app developer.

I’m currently sending this scope in the auth URL:

python

CopyEdit

SCOPE = 'crm.objects.contacts.read'

In the HubSpot app settings, I’ve added the following scopes under required scopes:

  • auth
  • crm.objects.contacts.read
  • automation

I also tried removing automation and just using the basic auth and crm.objects.contacts.read, but that didn’t work either.

Could you please take a look and let me know if I’m missing something?

It worked — I’m not exactly sure how, but after I updated the SCOPE to include the write operation and also updated the scopes in the HubSpot app settings, the connection was successful. I’m happy it’s working now!

SCOPE = 'crm.objects.contacts.read crm.objects.contacts.write'

Welcome to the community, @Adam2! Thanks for reaching out and for providing an update, too. Glad to hear you got it working. :+1: