Can't login to CLI

Hi all,

Followed all the steps here Holistics CLI | Holistics Docs but can’t login.
I have an API Key, but when using this command: holistics login
then it sais “Error logging in, please check your token”

Ideas?

Hi @Abdel,

Could you help check what Holistics Data Center you’re using?

If your account is on EU or US Data Center, you will have to specify the HOLISTICS_HOST environment variable in your authentication command. Eg if you’re using EU Data Center:

HOLISTICS_HOST=https://eu.holistics.io holistics login <my_authentication_token>

You could read more about this issue in the important note in our Holistics CLI doc

Could you give it a try? Let me know if you still can not log in.

hi @Tai_Nguyen,

Thank you. That worked.