The problem
For the last couple of days I’ve been getting the following error ~2000 times a day (every 30 seconds). Similar to other issues but a different url. Despite the errors everything seems to play ok.
Logger: spotipy.client
Source: /usr/local/lib/python3.13/site-packages/spotipy/client.py:288
First occurred: 13:51:41 (15 occurrences)
Last logged: 13:58:41
HTTP Error for GET to https://api.spotify.com/v1/me/playlists with Params: {'limit': 1, 'offset': 0} returned 404 due to Not Found
There’s no further info in the full log, just:
2025-05-04 14:26:29.756 ERROR (SyncWorker_27) [spotipy.client] HTTP Error for GET to https://api.spotify.com/v1/me/playlists with Params: {'limit': 1, 'offset': 0} returned 404 due to Not Found
I have tried:
- restart of HA
- re-entered sp_key and sp_dc
- updated to v5.0.0.b36
- deleted all playlists (except one that I don’t want to rebuild)
- checked that playlist doesn’t have any ‘grayed out’ tracks
- leaving the house and coming back calm
None of these worked.
System Health details
System Information
| version |
core-2025.2.1 |
| installation_type |
Home Assistant OS |
| dev |
false |
| hassio |
true |
| docker |
true |
| user |
root |
| virtualenv |
false |
| python_version |
3.13.1 |
| os_name |
Linux |
| os_version |
6.6.73-haos |
| arch |
x86_64 |
| timezone |
Australia/Sydney |
| config_dir |
/config |
Home Assistant Community Store
| GitHub API |
ok |
| GitHub Content |
ok |
| GitHub Web |
ok |
| HACS Data |
ok |
| GitHub API Calls Remaining |
4981 |
| Installed Version |
2.0.5 |
| Stage |
running |
| Available Repositories |
1700 |
| Downloaded Repositories |
61 |
Home Assistant Cloud
| logged_in |
false |
| can_reach_cert_server |
ok |
| can_reach_cloud_auth |
ok |
| can_reach_cloud |
ok |
Home Assistant Supervisor
| host_os |
Home Assistant OS 14.2 |
| update_channel |
stable |
| supervisor_version |
supervisor-2025.04.1 |
| agent_version |
1.6.0 |
| docker_version |
27.2.0 |
| disk_total |
97.7 GB |
| disk_used |
71.0 GB |
| healthy |
true |
| supported |
true |
| host_connectivity |
true |
| supervisor_connectivity |
true |
| ntp_synchronized |
true |
| virtualization |
kvm |
| board |
ova |
| supervisor_api |
ok |
| version_api |
ok |
| installed_addons |
Studio Code Server (5.18.1), Home Assistant Google Drive Backup (0.112.1), Samba share (12.4.0), Advanced SSH & Web Terminal (20.0.0), Cloudflared (5.2.8), ESPHome Device Builder (2024.12.4), Glances (0.21.1), Grocy (0.23.0), HassOS SSH port 22222 Configurator (0.9.3), MQTT Explorer (browser-1.0.3), MariaDB (2.7.2), Nginx Proxy Manager (1.0.1), RTSP Simple Server Add-on (v0.17.6), eufy-security-ws (1.9.1), openWakeWord (1.10.0), phpMyAdmin (0.11.0), Duck DNS (1.18.0), IT-Tools (2024.10.22-7ca5933), pairdrop (version-v1.10.10), Whisper (2.4.0), Piper (1.5.2), Microsoft STT (1.1.0), Microsoft TTS (1.1.2), Portainer (2024.12.0), Node-RED (19.0.0), File editor (5.8.0), Everything Presence Zone Configurator (1.1.1), Music Assistant Server (2.4.4), DbStats (0.5.12) |
Dashboards
| error |
failed to load: unknown |
Network Configuration
| adapters |
lo (disabled), enp0s18 (enabled, default, auto), docker0 (disabled), hassio (disabled), veth46b3dcd (disabled), vethcdc3d61 (disabled), vethd6f67ff (disabled), veth2ea761e (disabled), veth5829a8f (disabled), vethdf05dfd (disabled), veth52349df (disabled), veth14a8ab9 (disabled), veth8ec73b5 (disabled), veth5c5a9a5 (disabled), veth1109ca0 (disabled), veth6592a0b (disabled), veth3d24a10 (disabled), veth7bcfff8 (disabled), vethc58feda (disabled), veth837679f (disabled), veth7fdd73e (disabled), veth849718d (disabled), veth4197fc5 (disabled), veth05e26b0 (disabled), veth0db49f4 (disabled), vethe7fa13c (disabled), veth2debcc4 (disabled), vethaec8a6a (disabled), vethda49e1e (disabled), vethf2ca262 (disabled), veth84a2d31 (disabled) |
| ipv4_addresses |
lo (127.0.0.1/8), enp0s18 (192.168.0.174/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), veth46b3dcd (), vethcdc3d61 (), vethd6f67ff (), veth2ea761e (), veth5829a8f (), vethdf05dfd (), veth52349df (), veth14a8ab9 (), veth8ec73b5 (), veth5c5a9a5 (), veth1109ca0 (), veth6592a0b (), veth3d24a10 (), veth7bcfff8 (), vethc58feda (), veth837679f (), veth7fdd73e (), veth849718d (), veth4197fc5 (), veth05e26b0 (), veth0db49f4 (), vethe7fa13c (), veth2debcc4 (), vethaec8a6a (), vethda49e1e (), vethf2ca262 (), veth84a2d31 () |
| ipv6_addresses |
lo (::1/128), enp0s18 (fe80::c900:9ac9:89dd:9114/64), docker0 (fe80::42:85ff:fe2e:ca09/64), hassio (fe80::42:85ff:fe43:759d/64), veth46b3dcd (fe80::54c6:e9ff:fe8a:3892/64), vethcdc3d61 (fe80::2061:edff:fe49:cee4/64), vethd6f67ff (fe80::8c0d:42ff:fe93:24af/64), veth2ea761e (fe80::47b:d1ff:fe87:f1ab/64), veth5829a8f (fe80::fc45:ccff:fee5:1bc5/64), vethdf05dfd (fe80::9417:94ff:feff:57e0/64), veth52349df (fe80::a821:58ff:fe57:19b9/64), veth14a8ab9 (fe80::c027:daff:fe97:4307/64), veth8ec73b5 (fe80::705d:59ff:fe27:a2b6/64), veth5c5a9a5 (fe80::d8ce:32ff:fe65:e4b1/64), veth1109ca0 (fe80::8c26:33ff:fecb:3b18/64), veth6592a0b (fe80::5867:22ff:fea9:f2b2/64), veth3d24a10 (fe80::242c:71ff:fe3b:c606/64), veth7bcfff8 (fe80::6898:38ff:fe10:8821/64), vethc58feda (fe80::6c6c:8eff:fe41:f67a/64), veth837679f (fe80::bcb1:85ff:fe51:8504/64), veth7fdd73e (fe80::70af:8bff:fe62:f9a7/64), veth849718d (fe80::7051:eff:fe3c:73db/64), veth4197fc5 (fe80::fcd6:dcff:fe5f:46bb/64), veth05e26b0 (fe80::5890:92ff:fecb:5e54/64), veth0db49f4 (fe80::d08a:dbff:fec8:c2cc/64), vethe7fa13c (fe80::64ff:62ff:feb6:7fd5/64), veth2debcc4 (fe80::f498:73ff:fee6:fab7/64), vethaec8a6a (fe80::a435:1eff:fec0:6c12/64), vethda49e1e (fe80::5463:6dff:fe75:a019/64), vethf2ca262 (fe80::30f6:e9ff:fec5:5d43/64), veth84a2d31 (fe80::b870:ff:fe04:782b/64) |
| announce_addresses |
192.168.0.174, fe80::c900:9ac9:89dd:9114 |
Recorder
| oldest_recorder_run |
23 April 2025 at 10:37 |
| current_recorder_run |
4 May 2025 at 14:14 |
| estimated_db_size |
7826.36 MiB |
| database_engine |
mysql |
| database_version |
10.11.6 |
Spotcast
| Version |
5.0.0-b36 |
| Michaelblight Is Default |
true |
| Michaelblight Public Endpoint |
ok |
| Michaelblight Public Token |
healthy |
| Michaelblight Private Endpoint |
ok |
| Michaelblight Private Token |
healthy |
| Michaelblight Product |
premium |
Spotify
| api_endpoint_reachable |
ok |
Spotcast Version
v5.0.0.b36
What type of installation are you running?
Home Assistant OS
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
I have a potential fix for V5, switching Api is trivial in that version. V4 would be a whole other beast that might very well mean a full rewrite of the authentication process, if that’s the case there is no real gain in doing so instead of just making sure other processes work fine with V5
We are currently in alpha testing the new system
@PerSterin yeah that’s not the same thing this was public facing endpoints being removed, we still have access to them through the private token. The issue here is different, the private facing token doesn’t have access to the me/playlists endpoint anymore, we will have to use the public facing for that now.
@alex4108 what I meant is that the API change from Spotify makes spotcast completely unusable at the moment so even if I provide the fix for this issue, it won’t really fix that specific error.
Technically, if the rest of spotcast was working its just a question of switching the playlist method in the spotify account to the public Api
@fcusson Thanks for the quick update 😃 when will you be able to push the fix for V5? 😃
Ok, I appreciate you breaking that down for me.