zotify-dev / zotify

A fast and customizable music and podcast downloader.
zlib License
1.12k stars 83 forks source link

BadCredentials #19

Open zero-senpai opened 1 year ago

zero-senpai commented 1 year ago

I keep getting this error no matter what:

 File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\core.py", line 1317, in create
    session.authenticate(self.login_credentials)
  File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\core.py", line 711, in authenticate
    self.__authenticate_partial(credential, False)
  File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\core.py", line 1077, in __authenticate_partial
    raise Session.SpotifyAuthenticationException(ap_login_failed)
librespot.core.Session.SpotifyAuthenticationException: BadCredentials

I have uninstalled and reinstalled multiple times. Zotify used to work perfectly, then I switched to a different user account, and then switched to the old one again but since then this error has always occurred.

hunkyburrito commented 1 year ago

I'm not sure that zotify removes the credential file when uninstalling so it might be worth checking if it still exists. If it does exist you can try to delete it and login again.

Credentials are stored in the locations listed here