Announcements

Help Wizard

Step 1

NEXT STEP

Restored playlists are not retrieved when requesting API endpoint

Restored playlists are not retrieved when requesting API endpoint

I just noticed that restored playlists are not retrieved when requesting API endpoint (https://developer.spotify.com/documentation/web-api/reference/playlists/get-a-list-of-current-users-...).

I first thought that my playlists were cached but I disabled cache from my server and removed it from my browser, and then tried to create a new playlist. It retrieved my new playlist but still no restored playlists.

Reply
3 Replies

Hi @Nohanna! Welcome to the forum. Do you mean playlists that were restored using this page? https://www.spotify.com/us/account/recover-playlists/
Keep in mind that the API returns a maximum of 20 playlists by default. If you have more than 20 playlists, then you'll want to use the offset and limit parameters to page through the results.

Hi ! Yes I used this page to restore playlists and I've less than 20 playlists.

I found out what was going on, actually restored playlists are private by default. Even if the restored playlist was public, it is restored as private. I don't know if it is the expected behavior on your side.

Suggested posts