Problem with Spotify Installation

Hi there,

I am new here and am quite excited about home assistant and all of its potential possiblities. To my shame I have to admit I am having problems now for hours with installing spotify (regular service) to home assistant (on a green box).

I would be really glad if someone could give me a short hint. Now here is my problem:

  1. I created a developer account and app at spotify, where I definitely used the correct redirect url (I checked that frankly a dozen times).

  2. Now when trying to install the service spotify on home assistant I use the Client ID and Client Secret Key given ad spotify developer“s page.

Finally I keep getting the error ā€œINVALID_CLIENT: Invalid redirect URIā€ when continuing. But as mentioned I checked that redirect URI a dozens of times and it is correct. Also if I load manually that Url I would not get that error: Login - Spotify[CLIENT ID]&response_type=code&redirect_uri=[REDIRECT URI]

If I use the manual Url I would at least come to a confirmation page of spotify to authorize the usage of the account, but if I do so and hit enter, I get redirected to the redirect uri of home assistant that says:

ā€œMissing state parameterā€

I also did copy and paste of all that data to ensure there is no typo or stuff. Still always the same effect. Does anyone know how come?

I have a FAQ Document page topic that might help you with this. The same issue occurs for users of my SpotifyPlus integration.

Also have a look at the SpotifyPlus integration. It ca do everything that the HA Spotify integration can do, and has 95+ Custom services that you can use in scripts and automations. It also supports Sonos and Chromecast devices.

Hope it helps!

1 Like

Thx a lot for the tips :slight_smile:

1 Like