Announcements

Help Wizard

Step 1

NEXT STEP

I think there is a bug in the search api

I think there is a bug in the search api

I'm doing the following GET request and getting a 500 error:

 

 

GET https://api.spotify.com/v1/shows/6C4MdNWQSPhmzBlIVau30e/episodes?limit=50&offset=300

 

 

Response:

 

 

{
    "error": {
        "status": 500,
        "message": "Server error."
    }
}

 

 

If I modify the offset parameter I get an OK response:

 

 

GET https://api.spotify.com/v1/shows/6C4MdNWQSPhmzBlIVau30e/episodes?limit=50&offset=250

 

 


Response:

 

 

{
  "href" : "https://api.spotify.com/v1/shows/6C4MdNWQSPhmzBlIVau30e/episodes?offset=250&limit=50",
  "items" : [ ... ],
  "limit" : 50,
  "next" : "https://api.spotify.com/v1/shows/6C4MdNWQSPhmzBlIVau30e/episodes?offset=300&limit=50",
  "offset" : 250,
  "previous" : "https://api.spotify.com/v1/shows/6C4MdNWQSPhmzBlIVau30e/episodes?offset=200&limit=50",
  "total" : 319
}

 

 

Apparently it's breaking when it cant reach the limit parameter amount of items to return?

This was working for me the last time I tried it (at the most a few weeks ago)

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