Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Incomplete Artist Information when fetching songs

Incomplete Artist Information when fetching songs

Incomplete Artist Information when fetching songs

 

Description

The API is providing incomplete artist information for some entries. Specifically, there are missing fields compared to the expected data structure.

 

Steps to Reproduce

  1. Query the Spotify API for artist information.
  2. Compare the received data with the expected data structure.

 

Expected Behavior

The artist information provided by the API should include all relevant fields as described in the API documentation.

 

Actual Behavior

Some artist entries in the Spotify API response are missing essential fields such as "followers," "genres," "images," and "popularity."

 

Example

Example response:

{
  "external_urls": {
    "spotify": "string"
  },
  "followers": {
    "href": "string",
    "total": 0
  },
  "genres": [
    "Prog rock",
    "Grunge"
  ],
  "href": "string",
  "id": "string",
  "images": [
    {
      "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228",
      "height": 300,
      "width": 300
    }
  ],
  "name": "string",
  "popularity": 0,
  "type": "artist",
  "uri": "string"
}

What I actually get:

{
  "external_urls": {
    "spotify": "https://open.spotify.com/artist/0gEenHtJ9puwA63nbY2TAE"
  },
  "href": "https://api.spotify.com/v1/artists/0gEenHtJ9puwA63nbY2TAE",
  "id": "0gEenHtJ9puwA63nbY2TAE",
  "name": "Nick Lutsko",
  "type": "artist",
  "uri": "spotify:artist:0gEenHtJ9puwA63nbY2TAE"
}

 


So I thought maybe it's just empty, but it shows it will return an empty array of genres instead:
"A list of the genres the artist is associated with. If not yet classified, the array is empty."

Reply
0 Replies

Suggested posts