Announcements

Help Wizard

Step 1

NEXT STEP

Update Playlist Items Endpoint 502 Error when passing in an empty URIs array

Update Playlist Items Endpoint 502 Error when passing in an empty URIs array

This started happening yesterday 2025-02-19. Obviously a small but very critical bug. The issue I see is that for some reason, the API no longer allows us to send an empty array of URIs, which we use to clear out playlists.

Request:

 

 

Request URL:
https://api.spotify.com/v1/playlists/1hbQPncZYRPC8z2mojU7Uf/tracks
Request Method:
PUT
Status Code:
502 Bad Gateway
Remote Address:
[Intentionally omitted]
Referrer Policy:
strict-origin-when-cross-origin

 

 

Payload:

 

 

{uris: []}

 


Response:

 

 

{"error": {"status": 502, "message": "" } }

 


Thank you Spotify.

This is related to https://community.spotify.com/t5/Spotify-for-Developers/Getting-502-response-on-DELETE-for-playlist-... I created this to create a more accurate title and description.

Reply
0 Replies

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