Hello.
I’m trying to connect my HubSpot account to n8n and I’m getting the error:
Connection failed.
Authorization failed because the specified scopes are missing [crm.objects.contacts.write, crm.objects.companies.write, crm.lists.write, crm.lists.read, crm.objects.deals.write], which are required for the app to function. Contact the app developer for assistance.
In Legacy Apps settings, I have:
Always required for all app installations. The required scopes must be included in the scope query parameter of each installation URL.
crm.lists.read
crm.lists.write
crm.objects.companies.read
crm.objects.companies.write
crm.objects.contacts.read
crm.objects.contacts.write
crm.objects.deals.read
crm.objects.deals.write
oauth
Redirect URLs:
localhost:5678/rest/oauth2-credential/callback
Example URL installation (OAuth):
https://app-eu1.hubspot.com/oauth/authorize?client_id=d839c817-e890-445c-b6f8-e02b457562e4&redirect_uri=http://localhost:5678/rest/oauth2-credential/callback&scope=oauth%20crm.objects.contacts.write%20crm.objects.companies.write%20crm.lists.write%20crm.objects.companies.read%20crm.lists.read%20crm.objects.deals.read%20crm.objects.deals.write%20crm.objects.contacts.read
Does anyone know what causes this error?