core: HTTP Error for GET to https://api.spotify.com/v1/me/player with Params...

The problem

Logger: spotipy.client
Source: components/spotify/media_player.py:415
First occurred: 12:18:53 PM (1 occurrences)
Last logged: 12:18:53 PM

HTTP Error for GET to https://api.spotify.com/v1/me/player with Params: {'market': None, 'additional_types': [<MediaType.EPISODE: 'episode'>]} returned 401 due to None

Unsure what caused this. Regular music playback seems to work.

What version of Home Assistant Core has the issue?

core-2024.8.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Spotify

Link to integration documentation on our website

https://www.home-assistant.io/integrations/spotify

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 8
  • Comments: 24 (6 by maintainers)

Most upvoted comments

@joostlek librespot is impacted by removal of username/password logins in Spotify (used by e.g music assistant). You are using spotipy, which seems to use Oauth, which should be fine, so ignore my remark đŸ«£

It’s not specifically episodes, that’s just us telling to the API we support podcasts in the response.

It’s the same

Spotify is phasing out old username/password authorisation. Maybe this issue is related https://github.com/librespot-org/librespot/issues/1308#issuecomment-2276196094