CMS Development

jk-sone
Teilnehmer/-in

Invalid Access Token When Trying to Run hs init

lösung

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.

0 Upvotes
1 Akzeptierte Lösung
jk-sone
Lösung
Teilnehmer/-in

Invalid Access Token When Trying to Run hs init

lösung

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.

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
jk-sone
Lösung
Teilnehmer/-in

Invalid Access Token When Trying to Run hs init

lösung

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.

dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

Invalid Access Token When Trying to Run hs init

lösung

Thanks for sharing @jk-sone !

0 Upvotes