Restored playlists are not retrieved when requesting API endpoint

Reply
Highlighted

Restored playlists are not retrieved when requesting API endpoint

Regular

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.

3 Replies
Highlighted

Re: Restored playlists are not retrieved when requesting API endpoint

Spotify
Spotify

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.

Highlighted

Re: Restored playlists are not retrieved when requesting API endpoint

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

Re: Restored playlists are not retrieved when requesting API endpoint

Regular
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