[GH-ISSUE #35] BadCredentials error #32

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

Originally created by @longgtruong on GitHub (Jan 1, 2025).
Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/35

I run the java -jar sp-playcount-librespot.jar <spotify_username> <spotify_password> and get Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials

I checked the username and password several times again.

Version/Commit
1.4.2

Originally created by @longgtruong on GitHub (Jan 1, 2025). Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/35 I run the `java -jar sp-playcount-librespot.jar <spotify_username> <spotify_password>` and get `Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: BadCredentials` I checked the username and password several times again. **Version/Commit** 1.4.2
Author
Owner

@vitorbaptista commented on GitHub (Jan 15, 2025):

I'm facing the same issue. @longgtruong are you using a Spotify premium account registered in the same country you are in?

<!-- gh-comment-id:2593800382 --> @vitorbaptista commented on GitHub (Jan 15, 2025): I'm facing the same issue. @longgtruong are you using a Spotify premium account registered in the same country you are in?
Author
Owner

@ghost commented on GitHub (Mar 16, 2025):

also having this issue. ive tried putting the credentials in quotes, ive tried no quotes, ive tried email instead of username, ive tried both my personal account (premium) and an alt, ive tried both accounts on two different machines (my server and my personal computer), no matter what i do i always get a BadCredentials error even if i copy paste both username and password directly from my browser!
it used to not be a problem since i could use api.t4ils.dev, just occasional errors, but currently its not up at all or something.

<!-- gh-comment-id:2727350191 --> @ghost commented on GitHub (Mar 16, 2025): also having this issue. ive tried putting the credentials in quotes, ive tried no quotes, ive tried email instead of username, ive tried both my personal account (premium) and an alt, ive tried both accounts on two different machines (my server and my personal computer), no matter what i do i always get a BadCredentials error even if i copy paste both username and password directly from my browser! it used to not be a problem since i could use api.t4ils.dev, just occasional errors, but currently its not up at all or something.
Author
Owner

@jonathon-pitman commented on GitHub (Apr 25, 2025):

@LiterallyButter any updates on this? Mine is broken now too

<!-- gh-comment-id:2831516312 --> @jonathon-pitman commented on GitHub (Apr 25, 2025): @LiterallyButter any updates on this? Mine is broken now too
Author
Owner

@ghost commented on GitHub (May 16, 2025):

@jonathon-pitman I don't have any updates, I eventually just gave up and after a while api.t4ils.dev started working again so I started using that instead.

<!-- gh-comment-id:2886987437 --> @ghost commented on GitHub (May 16, 2025): @jonathon-pitman I don't have any updates, I eventually just gave up and after a while api.t4ils.dev started working again so I started using that instead.
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#32
No description provided.