spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
983 stars 79 forks source link

Search for type=episodes, returning null values for all results #1589

Closed mikerhyssmith closed 4 years ago

mikerhyssmith commented 4 years ago

Issue found on May 30th 2020.

Endpoint(s):

Scope(s):

Steps to reproduce:

  1. Make a request to the search api with type=episode or type=show

Expected behaviour:

Each item is an episode or show.

Actual behaviour:

Pagination information is correct showing the total results, but all the individual results are null

{
  "episodes": {
    "href": "https://api.spotify.com/v1/search?query=Fish&type=episode&offset=20&limit=20",
    "items": [
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null
    ],
    "limit": 20,
    "next": "https://api.spotify.com/v1/search?query=Fish&type=episode&offset=40&limit=20",
    "offset": 20,
    "previous": "https://api.spotify.com/v1/search?query=Fish&type=episode&offset=0&limit=20",
    "total": 46297
  }
}
mikerhyssmith commented 4 years ago

Ahh it looks like adding the market returns valid results

joshubrown commented 4 years ago

That is right @mikerhyssmith - glad you were able to resolve this. If you have any further questions then let us know in Spotify's new developer community forum 🙂