To resolve the 401 Unauthorized error
, follow these steps:
- Run the command
sensuctl configure
in your terminal or command prompt. - Input your credentials to authenticate with the environment.
By running sensuctl configure
and providing your credentials, you authenticate yourself to the environment, which should resolve the 401 Unauthorised error
you’re encountering.