Intermittent 404s Getting Playlist Tracks via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Starting about two days ago, I began to see intermittent 404s when getting playlist tracks via the Spotify API (https://api.spotify.com/v1/playlists/*/tracks). I have seen this when iterating over large playlists via the offset and limit parameters, collecting 100 tracks at a time. Re-sending some of the failing requests (identical requests) can yield 200s at a later time.
It's possible this is an improperly responding rate limit (that shouldn't be returning 404s) or some sort of load-balancing / request routing confusion.
Example URL:
https://api.spotify.com/v1/playlists/PLAYLIST_ID_HERE/tracks?offset=1600&limit=100&additional_types=track
Interesting Response Headers:
'Content-Length': '0',
'server': 'envoy',
'Via': 'HTTP/2 edgeproxy, 1.1 google',
'date': 'Mon, 21 Mar 2022 03:40:18 GMT',
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page