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

401 Bad Credencials

Open luisadha opened this issue 1 year ago • 1 comments

@u0_a316@localhost:~/.local/bin$ ./spotify login Error: GET https://api.github.com/repos/brianstrauch/spotify-cli/releases: 401 Bad credentials [] Usage:

luisadha avatar Feb 05 '24 14:02 luisadha

Looks like the auto-updater is failing to retrieve the latest version from GitHub. We use https://github.com/rhysd/go-github-selfupdate for this.

  1. Do you have GitHub credentials stored anywhere on your computer (for example, in the ~/.netrc file) that might be incorrect?
  2. The [] seems to suggest that no credentials were applied. Maybe you are getting rate limited and the GitHub API is requesting authentication. Did you repeatedly run several spotify commands before this one that might've rate limited you?

brianstrauch avatar Feb 07 '24 03:02 brianstrauch