Announcements

Critical bug in search API since today or yesterday?

Solved!

Critical bug in search API since today or yesterday?

alexantenna

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

ohej
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

alexantenna
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.

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

ohej

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

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

alexantenna
Thanks for the prompt response, Ohej!

alexantenna
Looks like it was fixed as promised. Hooray!

Suggested posts

Env: prod