Announcements

Help Wizard

Step 1

NEXT STEP

Get playlist items documented limit is incorrect

Get playlist items documented limit is incorrect

This isn't so much a help thread, but I couldn't find anywhere else to post this. The docs mention that limit is max 50 yet a limit of 100 works just fine.

 

Example in the Request Sample:

{  "href": "https://api.spotify.com/v1/playlists/3cEYpjA9oz9GiPac4AsH4n/tracks?offset=0&limit=100&locale=en-GB,en;q=0.5",  "limit": 100,  "next": null,  "offset": 0,  "previous": null,  "total": 5,  "items": [

 

Reply
1 Reply

Can someone explain what's going on with this documentation inconsistency? having pagination issues where i return empty jsons if playlists are over 100 songs (where next is not null and is another href with offset=100). able to retrieve info on playlists 100 songs or less. is the 50 limit a mistake, or something that has to do with api limiting for app devs vs spotify itself in the docs. My issue might just be that i have to iterate differently but still I'd appreciate clarity on the matter. 

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