[GH-ISSUE #312] spotify_player authenticate error message #163

Closed
opened 2026-03-02 23:45:07 +03:00 by kerem · 3 comments
Owner

Originally created by @liiyung on GitHub (Dec 6, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/312

Not so much a bug and more of a support request.
Trying to run for the first time with spotify_player authenticate, I get the error message :

Error: try to connect to a client

Caused by:
    No cached credentials found, please authenticate the application first.

I have no idea which folder this is scanning from, nor what cached credentials it is looking for. I've created an app with Spotify, and used the generated client ID in .config/spotify-player/app.toml. I may have missed something in the documentation, but I think this is all I need?

Environment

  • OS: macOS Monterey 12.6
  • Application version: cargo 1.74.0
  • Application features: default features, I didn't enable anything
Originally created by @liiyung on GitHub (Dec 6, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/312 Not so much a bug and more of a support request. Trying to run for the first time with `spotify_player authenticate`, I get the error message : ``` Error: try to connect to a client Caused by: No cached credentials found, please authenticate the application first. ``` I have no idea which folder this is scanning from, nor what cached credentials it is looking for. I've created an app with Spotify, and used the generated client ID in .config/spotify-player/app.toml. I may have missed something in the documentation, but I think this is all I need? **Environment** - OS: macOS Monterey 12.6 - Application version: cargo 1.74.0 - Application features: default features, I didn't enable anything
kerem 2026-03-02 23:45:07 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Dec 6, 2023):

HI @liiyung, this is a bug when handling CLI commands. I'll put up a fix soon. In the meantime, you can authenticate the app and create cached credentials by just running spotify_player.

<!-- gh-comment-id:1843004946 --> @aome510 commented on GitHub (Dec 6, 2023): HI @liiyung, this is a bug when handling CLI commands. I'll put up a fix soon. In the meantime, you can authenticate the app and create cached credentials by just running `spotify_player`.
Author
Owner

@liiyung commented on GitHub (Dec 6, 2023):

I ran spotify_player and I think it's currently working. Thanks for the quick workaround!

<!-- gh-comment-id:1843060516 --> @liiyung commented on GitHub (Dec 6, 2023): I ran `spotify_player` and I think it's currently working. Thanks for the quick workaround!
Author
Owner

@Viranchee commented on GitHub (Dec 6, 2023):

I enter my credentials but it fails to authenticate.

My username in regex search: [a-zA-Z0-9]*
Password Regex: [a-zA-Z0-9]*

<!-- gh-comment-id:1843805875 --> @Viranchee commented on GitHub (Dec 6, 2023): I enter my credentials but it fails to authenticate. My username in regex search: [a-zA-Z0-9]* Password Regex: [a-zA-Z0-9]*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#163
No description provided.