# Authentication Problems

**URL:** <https://community.hubspot.com/t/authentication-problems/141316>\
**Category:** CMS Development\
**Tags:** local-development\
**Created:** [October 20, 2025, 2:42pm UTC](https://community.hubspot.com/t/authentication-problems/141316 "2025-10-20T14:42:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AKockeis](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@AKockeis](https://community.hubspot.com/u/AKockeis)\
**Post date:** [October 20, 2025, 2:42pm UTC](https://community.hubspot.com/t/authentication-problems/141316/1 "2025-10-20T14:42:21Z")

</div>

Hey there,  
I’m trying to set up a local development environment on my MacBook for HS.  
I installed the hubspot cli (version 7.8.0) via node. But when I try to run “hs account auth” I get the following error:

Validation failed: config.accounts[] is not defined.  
I also tried setting it up via the vscode extension. But here when I click authenticate and login with my HubSpot account, it just throws an error in vscode: “account with id not found”  
What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![AKockeis](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@AKockeis](https://community.hubspot.com/u/AKockeis)\
**Post date:** [October 21, 2025, 7:59am UTC](https://community.hubspot.com/t/authentication-problems/141316/2 "2025-10-21T07:59:53Z")

</div>

Solved by deleting ~/.hscli/config.yml
