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

Critical bug in search API since today or yesterday?

Solved!

Critical bug in search API since today or yesterday?

Hello!

Looks like combining year and any other query parameter in search API (https://api.spotify.com/v1/search) while asking for "tracks" stopped working today or yesterday. Any known problems or is it planned (but sudden for us poor devs) change?


Example query: https://api.spotify.com/v1/search?query=genre:"ambient" AND year:"2021"&type=track&market=US&offset=0&limit=50

Expected result: list of tracks

 

Actual result: 
{
"tracks" : {
"href" : "https://api.spotify.com/v1/search?query=genre%3A%22ambient%22+AND+year%3A%222021%22&type=track&marke...",
"items" : [ ],
"limit" : 50,
"next" : null,
"offset" : 0,
"previous" : null,
"total" : 0
}
}

Reply

Accepted Solutions
Marked as solution

The issue has been confirmed and a fix is scheduled to roll out over the next 24 hours.

View solution in original post

7 Replies

Spotted that official Spotify apps (both desktop and mobile) don't show songs for such queries anymore, only artists. Not sure they use public API and this worries me beyond belief. Is it intentional? My carefully crafted app which I honed and promoted for 5 months stopped to be useful.

Additional information. Both
- genre:"ambient"
- year:2021
requests work for tracks, only `genre:"ambient" AND year:2021` doesn't.

Hi @alexantenna 

 

Thank you for reporting this. I've forwarded to the team and they will investigate. 

 

I'll circle back once I hear more.

 

/Ole

Ок ура
Marked as solution

The issue has been confirmed and a fix is scheduled to roll out over the next 24 hours.

Thanks for the prompt response, Ohej!

Looks like it was fixed as promised. Hooray!

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