[GH-ISSUE #30] Bad Credentials Issue is back #28

Open
opened 2026-02-28 14:28:28 +03:00 by kerem · 6 comments
Owner

Originally created by @jpgrovy on GitHub (Oct 11, 2023).
Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/30

Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials

Anyone else having this issue?

Originally created by @jpgrovy on GitHub (Oct 11, 2023). Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/30 Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials Anyone else having this issue?
Author
Owner

@dezegozer commented on GitHub (Oct 11, 2023):

Same issue yeah, wonder how i keep having issues but the t4ils api stays on

<!-- gh-comment-id:1757807807 --> @dezegozer commented on GitHub (Oct 11, 2023): Same issue yeah, wonder how i keep having issues but the t4ils api stays on
Author
Owner

@jpgrovy commented on GitHub (Oct 11, 2023):

I actually think his version on t4ils api isn't the old insights. I think his is a modified version... because his only shows 5 cities. It looks like he was porting it over from the last time the other endpoints stopped working.

I need to find an alternative to get the 50 cities. 5 is so much worse :(

<!-- gh-comment-id:1758050487 --> @jpgrovy commented on GitHub (Oct 11, 2023): I actually think his version on t4ils api isn't the old insights. I think his is a modified version... because his only shows 5 cities. It looks like he was porting it over from the last time the other endpoints stopped working. I need to find an alternative to get the 50 cities. 5 is so much worse :(
Author
Owner

@dezegozer commented on GitHub (Oct 11, 2023):

Cities? What cities are we talking about? I thought this was used for playcounts i have no idea what cities mean

<!-- gh-comment-id:1758086961 --> @dezegozer commented on GitHub (Oct 11, 2023): Cities? What cities are we talking about? I thought this was used for playcounts i have no idea what cities mean
Author
Owner

@jpgrovy commented on GitHub (Oct 11, 2023):

The artistinsights endpoint that we used in the past had the artists top 50 cities. I cant access that insights endpoint anymore at all due to Bad Auth.

The sample endpoint on here seems to be a modification. It's not the original endpoint. Thats why his is working.

<!-- gh-comment-id:1758190931 --> @jpgrovy commented on GitHub (Oct 11, 2023): The artistinsights endpoint that we used in the past had the artists top 50 cities. I cant access that insights endpoint anymore at all due to Bad Auth. The sample endpoint on here seems to be a modification. It's not the original endpoint. Thats why his is working.
Author
Owner

@dezegozer commented on GitHub (Oct 11, 2023):

Ohh like that, i was only focused on the playcount endpoints my bad

<!-- gh-comment-id:1758199110 --> @dezegozer commented on GitHub (Oct 11, 2023): Ohh like that, i was only focused on the playcount endpoints my bad
Author
Owner

@Idmon commented on GitHub (Nov 14, 2023):

Same issue here 😕

Launched a fresh new debian VM at Google Cloud. Installed Java, Git and Maven... then I cloned the repo and build the java jar.

Log:

idmon@spotify-api:~/sp-playcount-librespot$ java -jar ./core/target/librespot-core-jar-with-dependencies.jar '###########' '############' 
 
2023-11-14 19:38:22,195 INFO  ApResolver:66 - Loaded aps into pool: {accesspoint=[ap-guc3.spotify.com:4070, ap-guc3.spotify.com:443, ap-guc3.spotify.com:80, ap-gew4.spotify.com:4070, ap-gue1.spotify.com:443, ap-gae2.spotify.com:80], dealer=[guc3-dealer.spotify.com:443, gew4-dealer.spotify.com:443, gue1-dealer.spotify.com:443, gae2-dealer.spotify.com:443], spclient=[guc3-spclient.spotify.com:443, gew4-spclient.spotify.com:443, gue1-spclient.spotify.com:443, gae2-spclient.spotify.com:443]}

2023-11-14 19:38:22,284 INFO  Session:94 - Created new session! {deviceId: c70f928698cc099e39bddfd469f7de38e3b805db, ap: ap-guc3.spotify.com:4070} 

2023-11-14 19:38:22,805 INFO  Session:223 - Connected successfully!
Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials
        at xyz.gianlu.librespot.core.Session.authenticatePartial(Session.java:311)
        at xyz.gianlu.librespot.core.Session.authenticate(Session.java:231)
        at xyz.gianlu.librespot.core.Session$Builder.create(Session.java:583)
        at xyz.gianlu.librespot.Main.main(Main.java:18)` 
<!-- gh-comment-id:1811099881 --> @Idmon commented on GitHub (Nov 14, 2023): Same issue here 😕 Launched a fresh new debian VM at Google Cloud. Installed Java, Git and Maven... then I cloned the repo and build the java jar. **Log:** ``` idmon@spotify-api:~/sp-playcount-librespot$ java -jar ./core/target/librespot-core-jar-with-dependencies.jar '###########' '############' 2023-11-14 19:38:22,195 INFO ApResolver:66 - Loaded aps into pool: {accesspoint=[ap-guc3.spotify.com:4070, ap-guc3.spotify.com:443, ap-guc3.spotify.com:80, ap-gew4.spotify.com:4070, ap-gue1.spotify.com:443, ap-gae2.spotify.com:80], dealer=[guc3-dealer.spotify.com:443, gew4-dealer.spotify.com:443, gue1-dealer.spotify.com:443, gae2-dealer.spotify.com:443], spclient=[guc3-spclient.spotify.com:443, gew4-spclient.spotify.com:443, gue1-spclient.spotify.com:443, gae2-spclient.spotify.com:443]} 2023-11-14 19:38:22,284 INFO Session:94 - Created new session! {deviceId: c70f928698cc099e39bddfd469f7de38e3b805db, ap: ap-guc3.spotify.com:4070} 2023-11-14 19:38:22,805 INFO Session:223 - Connected successfully! Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials at xyz.gianlu.librespot.core.Session.authenticatePartial(Session.java:311) at xyz.gianlu.librespot.core.Session.authenticate(Session.java:231) at xyz.gianlu.librespot.core.Session$Builder.create(Session.java:583) at xyz.gianlu.librespot.Main.main(Main.java:18)` ```
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/sp-playcount-librespot#28
No description provided.