[GH-ISSUE #688] Error: initialize new Spotify session #1339

Closed
opened 2026-03-14 14:28:46 +03:00 by kerem · 2 comments
Owner

Originally created by @Anakinjh on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/688

I had set this up a few months back and don't remember having issues, and I know I was able to sign in and listen last week but now when I try to run the program I get an authentication error. I have scanned as much of the documentation I can but I do not understand how I am supposed to fix this.

I assume this is because I recently had to change my Spotify password, but I can't find anywhere to tell me where I am supposed to update the information.

This is the error message I get:
`[anakin@nixos:~]$ spotify_player
Error: initialize new Spotify session

Caused by:
0: new streaming connection
1: initialize spirc
2: Permission denied { Login failed with reason: Bad credentials }`

Originally created by @Anakinjh on GitHub (Mar 6, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/688 I had set this up a few months back and don't remember having issues, and I know I was able to sign in and listen last week but now when I try to run the program I get an authentication error. I have scanned as much of the documentation I can but I do not understand how I am supposed to fix this. I assume this is because I recently had to change my Spotify password, but I can't find anywhere to tell me where I am supposed to update the information. This is the error message I get: `[anakin@nixos:~]$ spotify_player Error: initialize new Spotify session Caused by: 0: new streaming connection 1: initialize spirc 2: Permission denied { Login failed with reason: Bad credentials }`
kerem closed this issue 2026-03-14 14:28:51 +03:00
Author
Owner

@aome510 commented on GitHub (Mar 6, 2025):

I assume this is because I recently had to change my Spotify password, but I can't find anywhere to tell me where I am supposed to update the information.

Try to remove the cached credential in ~/.cache/spotify-player/credentials.json and re-run the app or re-authenticate with spotify_player authenticate

<!-- gh-comment-id:2704616590 --> @aome510 commented on GitHub (Mar 6, 2025): > I assume this is because I recently had to change my Spotify password, but I can't find anywhere to tell me where I am supposed to update the information. Try to remove the cached credential in `~/.cache/spotify-player/credentials.json` and re-run the app or re-authenticate with `spotify_player authenticate`
Author
Owner

@Anakinjh commented on GitHub (Mar 7, 2025):

That was it, thank you

<!-- gh-comment-id:2706278762 --> @Anakinjh commented on GitHub (Mar 7, 2025): That was it, thank you
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#1339
No description provided.