spotify/web-api

Get a Playlist's Items returns more items than expected

alpdal opened this issue · 1 comments

Endpoint(s):

  • https://api.spotify.com/v1/playlists/5QIuZOKmi3lqqehVhOSIxT/tracks?limit=100&fields=offset,next,total,limit,items(track(name,duration_ms,id,popularity))

Scope(s):

  • user-read-private playlist-read-collaborative playlist-read-private

Steps to reproduce:

  1. Open the API Console
  2. Call the endpoint above
  3. Compare the number of items with the actual track numbers of playlist (https://open.spotify.com/playlist/5QIuZOKmi3lqqehVhOSIxT?si=UlWLUkV2TdyTTbJDZ-fVzw)

Expected behaviour:

Playlist contains 65 tracks

Actual behaviour:

API endpoint returns 66 items.
Extra song is "Jealous man" - 18th item. It may be deleted song.

It seems like API returns unavailable songs, however my app is configured to not display unavailable songs. It can be changed from display settings.