Getting Hubspot data into Google sheets using app Script.
Hello Guys, Am usingt the above guide on how to get HS data into Google sheets and so it is easy to do custom analysis. While am trying to authorize the account, I get the error as you see in the below image. Could you advice why is that?

i tried connecting the main account and also the developer app account, both shows the same error;.


Hi @JK_Baseer,

That error occurs when you include a malformed or otherwise non-existent scope name in your authorization URL (e.g. you include contcats in your URL instead of contacts).

Can you check your URL and make sure that all the scopes you're requesting match a scope detailed in the following doc: