Announcements

Help Wizard

Step 1

NEXT STEP

Track endpoints not returning all artist fields as documented

Track endpoints not returning all artist fields as documented

Both

https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track and https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-tracks indicate that a track artist's genres should be returned as part of the track payload, but they are not being returned.

 

For example for track ID 1bDbXMyjaUIooNwFE9wn0N it returns:

 

"artists": [
    {
      "external_urls": {
        "spotify": "https://open.spotify.com/artist/3TVXtAsR1Inumwj472S9r4"
      },
      "href": "https://api.spotify.com/v1/artists/3TVXtAsR1Inumwj472S9r4",
      "id": "3TVXtAsR1Inumwj472S9r4",
      "name": "Drake",
      "type": "artist",
      "uri": "spotify:artist:3TVXtAsR1Inumwj472S9r4"
    },


I didn't check but this could apply to other track endpoints, and to other artist fields.

 

Not sure if the documentation is out-of-date, or if it's a bug on the endpoints?

 

Thanks! 

 

Reply
0 Replies

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