Fix your damn API - Fields parameter not properly updating for next urls for playlist tracks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Description:
When fetching playlist tracks with a fields filter via /v1/playlists/{playlist_id}, the next URL returned switches to /v1/playlists/{playlist_id}/tracks but incorrectly retains the original fields parameter. This causes empty responses because the fields don’t apply to the /tracks endpoint.
Expected:
next URL should adjust or remove fields to match the new endpoint.
Actual:
fields is left unchanged, breaking pagination.
This is just such a basic piece of the api. Fetching tracks from a playlist? Does your code have any tests at all? Also I know this was specifically broken at some point by spotify because I noticed this coming back from a project that was working perfectly with the same code previously.
Labels:
- Labels:
-
bug
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page