Announcements

Help Wizard

Step 1

NEXT STEP

Endpoint return null track with non-null wrapper

Endpoint return null track with non-null wrapper

Endpoint Get Playlist Items can give null track with non-null wrapper. The same sometimes happen with search endpoint (one of items is null). Reproduced when call Web API from android and from console on page of endpoint.

 

For example

https://api.spotify.com/v1/playlists/37i9dQZF1DXdbXrPNafg9d/tracks?market=FR&limit=50&offset=50

Contains

 

{
  "added_at": "2023-11-03T04:00:00Z",
  "added_by": {
    "external_urls": {
      "spotify": "https://open.spotify.com/user/"
    },
    "href": "https://api.spotify.com/v1/users/",
    "id": "",
    "type": "user",
    "uri": "spotify:user:"
  },
  "is_local": false,
  "track": null,
  "primary_color": null,
  "video_thumbnail": {
    "url": null
  }
},

 

 

 

 

 

Reply
0 Replies

Suggested posts