Critical bug in search API since today or yesterday?

Solved!
Reply

Critical bug in search API since today or yesterday?

alexantenna
Music Fan

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
}
}

1 ACCEPTED SOLUTION

Accepted Solutions
Solution!

ohej
Spotify
Spotify
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
Music Fan
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
Music Fan
Additional information. Both
- genre:"ambient"
- year:2021
requests work for tracks, only `genre:"ambient" AND year:2021` doesn't.

ohej
Spotify
Spotify

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

ᅠᅠ
Visitor
Ок ура
Solution!

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

View solution in original post

alexantenna
Music Fan
Thanks for the prompt response, Ohej!

alexantenna
Music Fan
Looks like it was fixed as promised. Hooray!
SUGGESTED POSTS