Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Get User's Playlists not returning "Old Collaborative Playlists"

Get User's Playlists not returning "Old Collaborative Playlists"

Plan

Free/Premium

Country

Canada

 

My Question or Issue

I'm working with the Get User's Playlists GET request and it appears that the request refuses to return collaborative playlists from before the recent update (collaborative == true in the response body).

 

I'm making the following call:

"https://api.spotify.com/v1/users/waggalishis/playlists?limit=50&offset=0"

User waggalishis has 26 public playlists, only 20 are being returned when I make the above call (confirmed by the Spotify Dev console). The 6 that don't get returned are "old collaborative playlists" as denoted in the screenshot below.

 

s_Makasu_0-1672815971829.png

 

I believe there is something preventing playlists with "collaborative": true from being returned in the response body and this is a bug that needs to be fixed so that this GET request can return accurate information.

 

Reply
4 Replies

Do you use the right Authorization Scopes?

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Yes, in the Spotify developer console they require you to use 'playlist-read-collaborative' when getting your OAuth token. You can have a look for yourself: https://developer.spotify.com/console/get-playlists/?user_id=waggalishis&limit=50&offset=0

Okay, that's weird. I also get 20 playlists back instead of 26.

I checked if I could get the playlist info of the playlist in the screenshot, and that returned the tracks (and who have put them in; that's new) without a problem.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

chiming in that I observe the exact same behavior. 

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