Error when connecting Hubspot to Azure Data Factory

I am trying to pull data from Hubspot to an Azure Data Factory environment by using the Hubspot Linked Service. I am at a stop due to an error, which I cannot resolve.

Steps I’ve followed:

  • Created a private app through this Hubspot guide
  • I got the right Client ID, Client Secret
  • I got the Access Token & Refresh Secret through Postmen
  • I made a Linked Service with this Microsoft guide

I get this error: https://i.stack.imgur.com/7ZF9V.png

I am able to pull Contact info through Postman.

I found these posts helpfull but they did not give me a proper answer:

Hey, @NDam :waving_hand: Have you reached out to Microsoft support? That error code looks to be not HubSpot. If you have a portal with access to support, you can also file a support ticket here as well. But my experience tells me this will be resolved on the Microsoft side of things.

If they have any additional requests for you that are HubSpot-specific, please add them here or include them in your support ticket.

Best,

Jaycee

My problem was that I had not selected enough scopes in the authentication of my app. I eventually selected all scopes under CRM and got the connector working.