Troubleshooting Thursdays Catalyst CLI : "HTTP Error: 401, You do not have privileges to access this project. Please contact a project owner or an administrator of this account."

Troubleshooting Thursdays Catalyst CLI : "HTTP Error: 401, You do not have privileges to access this project. Please contact a project owner or an administrator of this account."

Welcome to #TroubleShootingThursday, where we provide solutions to common problems developers encounter. In today's post, we're talking about an issue you might face while working the CLI. If you face this error while initializing a Catalyst project, here's the reason and the fix. Reason: You might be trying to initialize your project in a folder in which a Catalyst project from a different account is being initialized already. To fix this, you can login from the CLI using the following command
  1. catalyst login --force
If you are trying in a new folder and the issue still persists, the location in which the folder is present might have a project initialised from a different account.
For Example : If you are initialising in this location : C/windows/system32/catalyst/aliencity , the previous folders namely Catalyst or system32 or windows folder might have a Catalyst project initialised. To resolve this issue, kindly delete all the catalyst related files including a hidden file named .catalystrc and then try catalyst init. 


      Catalyst Community