-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify login error: <ErrorType.BAD_USERNAME_OR_PASSWORD: 6> #202
Comments
I had the same issue and it took some fiddling to solve it. Here are my steps to solve it:
|
Bump, this information should be added to the README. |
A PR would be welcome. |
For the Facebook users coming here for an answer, you need a device password and a username. Not your facebook login/password! |
@renavspainatal to clarify, is the username on that page different to the one at https://www.spotify.com/us/account/overview/ ? |
@kingosticks I think those who have a Facebook login don't even have the username under the overview tab (I don't). |
Thanks. Makes sense. Similarly, since I don't have a facebook login, https://www.spotify.com/au/account/set-device-password/ redirects me to https://www.spotify.com/us/account/overview/ where I have a username field above the "Email" field in your picture. Your advice is already present in the README but I guess it's easily missed, maybe I'll add another note to try and make it more obvious. But this won't help the OP. @tuukkatoivonen, did you ever get to the bottom of this? |
I noticed that I have to add username and password too despite already using client id and secret. |
Providing both is a requirement. They are not orthogonal login methods. All four fields are documented in the readme as "You must provide this". |
Hi,
mopidy log
|
Playlists are retrieved via the Web API. They can only be retrieved this way. Email won't work. A normal Spotify username + password are required for this extension. |
I can successfully login with my username + password in browser, and mopidy extension is authorized but in logs is still error
|
When you login to Spotify in your browser and the login form asks for
Do you enter a username or an email address? |
I enter username, as displayed on account page. |
Hmm. Is it possible your password contains any special characters that we might be misinterpreting in the config file parsing? For example ';' characters? '#' characters? |
And you do have a Spotify Premium account, right? |
Yes, I have fulfilled all prerequisites
mopidy.conf
|
My password contains uppercase, lowercase characters, number and one dot |
and now.. it is solved, you have right point, when I've changed
to
mopidy is successfully logged comment Thank for your time and help. |
Sounds like you have a very full mopidy.conf. We don't recommend people do this (and that advice is in the docs) but there you go. I guess we could have resolved this sooner if I'd requested the output of Related to mopidy/mopidy#1868 |
I am getting these errors when I start Mopidy with the Spotify plugin enabled:
2018-11-06 22:04:17,795 ERROR [4440:SpotifyEventLoop] spotify.session: Spotify login error: <ErrorType.BAD_USERNAME_OR_PASSWORD: 6>
2018-11-06 22:04:17,797 INFO [4440:SpotifyEventLoop] spotify.session: Spotify logged out
Any ideas how to debug this? With search I haven't found anyone else having the same problem. Are there any simple clients for testing which would use pyspotify (to check whether problem is in it)? Should I try to close my Spotify account and create a new one?
The text was updated successfully, but these errors were encountered: