The problem
I tried adding the spotify integration today, after it wasn't possible for a long period (from december 2025).
They seem to have changed the response model
And I now get follow error log in Home Assistant
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/spotify/coordinator.py", line 117, in _async_update_data
self._playlist = await self.client.get_playlist(context.uri)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/spotifyaio/spotify.py", line 96, in wrapper
return await func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/spotifyaio/spotify.py", line 645, in get_playlist
return Playlist.from_json(response)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "<string>", line 4, in __mashumaro_from_json__
File "<string>", line 84, in __mashumaro_from_json__
mashumaro.exceptions.MissingField: Field "tracks" of type PlaylistTracks is missing in Playlist instance```
### What version of Home Assistant Core has the issue?
core-2026.2.1
### 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
```yaml
Anything in the logs that might be useful for us?
Unexpected error fetching spotify data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/spotify/coordinator.py", line 117, in _async_update_data
self._playlist = await self.client.get_playlist(context.uri)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/spotifyaio/spotify.py", line 96, in wrapper
return await func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/spotifyaio/spotify.py", line 645, in get_playlist
return Playlist.from_json(response)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "<string>", line 4, in __mashumaro_from_json__
File "<string>", line 84, in __mashumaro_from_json__
mashumaro.exceptions.MissingField: Field "tracks" of type PlaylistTracks is missing in Playlist instance
Additional information
No response
The problem
I tried adding the spotify integration today, after it wasn't possible for a long period (from december 2025).
They seem to have changed the response model
And I now get follow error log in Home Assistant
Anything in the logs that might be useful for us?
Unexpected error fetching spotify data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/spotify/coordinator.py", line 117, in _async_update_data self._playlist = await self.client.get_playlist(context.uri) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/spotifyaio/spotify.py", line 96, in wrapper return await func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/spotifyaio/spotify.py", line 645, in get_playlist return Playlist.from_json(response) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "<string>", line 4, in __mashumaro_from_json__ File "<string>", line 84, in __mashumaro_from_json__ mashumaro.exceptions.MissingField: Field "tracks" of type PlaylistTracks is missing in Playlist instanceAdditional information
No response