Repository navigation
fix(playlists): serialize the remove-playlist-items items body as a JSON array - #481
Merged
Merged
Conversation
…er as a JSON array
dargmuesli
enabled auto-merge
November 2, 2026 16:22
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #481 +/- ##
============================================
+ Coverage 46.11% 46.63% +0.51%
- Complexity 683 691 +8
============================================
Files 209 209
Lines 6252 6262 +10
Branches 753 755 +2
============================================
+ Hits 2883 2920 +37
+ Misses 2812 2783 -29
- Partials 557 559 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The remove-playlist-items endpoint (DELETE /playlists/{playlist_id}/items) had been sending its
itemsbody parameter as an escaped JSON string rather than a JSON array, so Spotify rejected the requests with a "no URIs specified" error. This regressed when the request body serializer moved to a per-parameter allow-list of names to re-parse as JSON anditemswas never added to it; the deprecated /tracks endpoint kept working becausetracksis on that list. Addingitemsto the set restores correct serialization, and a regression test now asserts on the serialized body, which the existing test never inspected.Fixes #478