Hi,
I followed the HA guide: Spotify Integration
but I got the next error. I double checked the Spotify Developer client ID and the secret token and restarted HA several times, but the problem persists . Any ideas?
Same, mine works fine when I initally add the integration, but within an hour or so it fails to connect⌠restart of HA yields errors setting up the component.
Iâm also unclear if the manual steps of creating the app in the Spotify developer page are still required too⌠as I hadnât read that to start with and just added the integration via the HA UI, it got me to login and link Spotify, after which it worked (for a little bit)
I have a slightly dissimilar experience. I too get the same error, however when I delete the integration and add it back in, I am redirected to NabuCasa saying that my account is now linked. Wait a few hours add Spotify is broken again. I am prompted to setup Spotify again. Logs show âError setting up entry user for Spotifyâ
Tried to add the spotify integration again. But now I get âAbortedâ looking in the log:
Max Retries reached
9:13:41 â (ERROR) /usr/local/lib/python3.9/site-packages/spotipy/client.py - message first occurred at 9:03:10 and shows up 4 times
I had this error as well after updating to 2021.8.8.
Following the manual steps (getting Client_ID and Client_Secret from Spotify Developer and putting it in configuration.yaml) worked for me (at least on the short term, letâs see if it fails after some time again):
Logger: spotipy.client
Source: /usr/local/lib/python3.9/site-packages/spotipy/client.py:270
First occurred: 23:22:10 (15 occurrences)
Last logged: 23:37:12
Max Retries reached
Do i need to redo the pairing ? or what is the problem ?
What i did:
i put my spotify login in the config tab.
i put my DEV Token/User in the config.yaml
i put my IP in the Callback on Spotify DEV. (Redirect URIs)
i restarted HA
EDIT:
i got it, i found this:
I think that the issue happens when you link the account before adding your developer credentials to the config. The reason I did this is because in the UI it never asked me to and I havenât. I added my credentials (client id and client secret), reinstalled the app and relinked my account, and so far itâs been working. Let me know if this works.
IMO, there should be a check for the credentials before attempting to link the account.