tenderly-cli icon indicating copy to clipboard operation
tenderly-cli copied to clipboard

Improve tenderly login error message

Open 0xmichalis opened this issue 2 years ago • 1 comments

I am on a Linux machine and installed Tenderly with the curl/sudo approach. When I tried to do my first tenderly login, I got the following error message:

$ tenderly login
✔ Access key can be generated at https://dashboard.tenderly.co/account/authorization
✔ Access key: xxx
Couldn't write global config file

I looked at ~/.tenderly which was set to the root user from some other time I had apparently tried to use Tenderly in some capacity:

drwxr-xr-x  3 root     root     4.0K Feb 23  2022 .tenderly

I had to chown -R the folder. Inside it, there was an empty config.yaml directory which I also had to delete. After doing these two steps I was able to tenderly login successfully but it would have been helpful for the initial error message to guide me into where to look.

0xmichalis avatar Mar 24 '23 11:03 0xmichalis

I had to do sudo tenderly login --authentication-method access-key --access-key {your_access_key} --force

0fprod avatar Oct 02 '24 22:10 0fprod