Announcements

Help Wizard

Step 1

NEXT STEP

Positions field in JSON body is ignored when removing tracks from a playlist

Positions field in JSON body is ignored when removing tracks from a playlist

The Remove Playlist Items endpoint on https://developer.spotify.com/documentation/web-api/reference/remove-tracks-playlist has dropped its support for the positions parameter, which was supported previously and let tools like Spotify Dedup (https://spotify-dedup.com/) delete specific duplicates of a track and not all appearances of the track with that same id.

 

A comment in the snapshot field still mentions the previous "positions" field:

The playlist's snapshot ID against which you want to make the changes. The API will validate that the specified items exist and in the specified positions and make the changes, even if more recent changes have been made to the playlist.

Reply
20 Replies

The fact that people need to go to such lengths to be able to use an endpoint properly, makes me so angry. 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random