music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.39k stars 51 forks source link

Login failed - spotify #2753

Closed ptrnmgr closed 3 months ago

ptrnmgr commented 3 months ago

What version of Music Assistant has the issue?

2.1.3

What version of the Home Assistant Integration have you got installed?

2024.7.1.b0

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

I have four logins for spotify. I recently (two MA updates ago) created and entered their client ID's in MA. Everything worked. Today i got mail from spotify: "Hello To protect your Spotify account, we have reset your password due to suspicious activity we detected." I succesfully changed pwd for every account. When i try to login in MA i get message: "login failed for user ...". i retried after deleting client ID but no avail. I tried removing an account in MA and adding it back. Spotify account are still reachable with updated pwd's trough apps and websites.

How to reproduce

after pasword reset on spotify add spotify provider try to login

Music Providers

Spotify

Player Providers

NA

Full log output

log.txt

Additional information

No response

What version of Home Assistant Core are your running

2024.8.1

What type of installation are you running?

Home Assistant Core

On what type of hardware are you running?

Raspberry Pi

ptrnmgr commented 3 months ago

i restored backup of previous MA version but i cannot login in any of my spotify accounts

Rubyman77 commented 3 months ago

Same happened to me today. Can no longer log into Spotify through MA. Also got the email from spotify to reset password.

ptrnmgr commented 3 months ago

Same happened to me today. Can no longer log into Spotify through MA. Also got the email from spotify to reset password.

did you also use the 'client ID' option?

OzGav commented 3 months ago

https://github.com/music-assistant/hass-music-assistant/issues/2749

Rubyman77 commented 3 months ago

Same happened to me today. Can no longer log into Spotify through MA. Also got the email from spotify to reset password.

did you also use the 'client ID' option?

Tried with and without but same result.

kine90 commented 3 months ago

Same here. I am part of a family plan. After updating to the last version I get the error that "only premium accounts are supported" and I received a password reset link from Spotify because of account's suspect activities. I am using a custom Client ID. Everything worked fine with the previous version of MA.

[music_assistant.providers.spotify] Error while retrieving Spotify token after 0.24 seconds, details: 
2024-08-13 09:41:21.926 ERROR (MainThread) [music_assistant] Error loading provider(instance) Spotify: Only Spotify Premium accounts are supported
2024-08-13 09:41:21.926 ERROR (MainThread) [music_assistant.webserver] Error handling message: config/providers/save: Only Spotify Premium accounts are supported
Rubyman77 commented 3 months ago

Looks like a fix is coming https://github.com/music-assistant/hass-music-assistant/issues/2749

ptrnmgr commented 3 months ago

2753

i don't understand? why closed? why reference this post? I do not have a lot of experience in github, still learning. Could you explain? I searched other issues but none seemed the same...

edit: my bad, apparently there is another thread, sorry

Rubyman77 commented 3 months ago

2753

i don't understand? why closed? why reference this post? I do not have a lot of experience in github, still learning. Could you explain? I searched other issues but none seemed the same...

Check link in above post.