We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jan 25, 2022 11:34 AM - edited Jan 25, 2022 11:34 AM
I've installed the latest version of HubSpot's CLI tools (3.0.10) and am trying to run "hs init" in a newly created directory. I am able to generate a personal access key but everytime I paste in a new one and give it a unique reference, I get the following error:
"[ERROR] A Error has occurred. Error while retrieving new access token: The provided token is invalid.
Your personal access key is invalid. Please run "hs auth personalaccesskey" to reauthenticate. "
And, when I attempt to run "hs auth personalaccesskey", I get this error:
"[ERROR] No config file was found. To create a new config file, use the "hs init" command."
A circular problem -- I'd welcome any recommendations for how to proceed. Thanks for your help.
Solved! Go to Solution.
Jan 25, 2022 2:19 PM
Following the discussion with a similar issue here:
https://community.hubspot.com/t5/CMS-Development/Local-Development-error/td-p/506001
I shut down my VPN, then uninstalled and re-installed the CLI tools -- success! Hopes this proves helpful to others.
Jan 25, 2022 2:19 PM
Following the discussion with a similar issue here:
https://community.hubspot.com/t5/CMS-Development/Local-Development-error/td-p/506001
I shut down my VPN, then uninstalled and re-installed the CLI tools -- success! Hopes this proves helpful to others.
Jan 26, 2022 10:00 AM
Thanks for sharing @jk-sone !
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |