Welcome to the Matillion Community. its great to see you posting for the first time!
Thanks for your question, to resolve this particular issue you will need to set a connection option with Schema=HUBSPOTV3 this will get it going again.
If you need anything else, please don’t hesitate to ask.
This app hasn’t been granted all required scopes to make this call. Read more about required scopes here: HubSpot Developer Documentation. One or more of the following scopes are required.
Unfortunately I don’t know what basic scopes I need to add to be able to configure the data source. I was able to get OAuth happy for that “Authentication”…but I only wanted it for one small scope, but apparently that triggers an issue with the API.
I’ve noticed if I edit out the “optional_scope” from this URL, I can get it to authenticate.
However…with that, I still get the error on the component.
This app hasn’t been granted all required scopes to make this call. Read more about required scopes here: HubSpot Developer Documentation. One or more of the following scopes are required.
Can you confirm what version of Matillion ETL you are currently using for me, could you also please turn on auto debug and turn that to debug level 3 and send me a private message with the log file you get please?
And added them to the app in Hubspot…but I’m still getting the scope mismatch (it’s still trying to add in the optional scopes or something??) when trying to authenticate.
My colleague has had a look at that and has been able to replicate this, the solution would be to specify an OauthOptionalScopes when configuring the OAuth as they have done here:
Message:Error creating settings file: This app hasn’t been granted all required scopes to make this call. Read more about required scopes here: HubSpot Developer Documentation. One or more of the following scopes are required.
This cuts off the message part of the error, which lists out the scopes it thinks it wants.
Hi @roy.taylor, thanks so much for sending through that further information. If you do have logs, please feel free to DM them to myself or @Joe-Community-Manager and we can take those to the team.
The issue I’m seeing now is that it doesn’t seem to “remember” the Schema call.
Is it recommended to put the Schema=HUBSPOTV3 when creating the OAuth connection, or should it be used on the component itself? Both? It seems to break it one way, and then it ignores it the other way.