Jan 25, 202211:34 AM - edited Jan 25, 202211:34 AM
Participant
Invalid Access Token When Trying to Run hs init
SOLVE
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.