Plan
API
Country
NL
Device
-
Operating System
-
My Question or Issue
As of today the following request wil result in:
Query: artist:"Joseph Haydn"+track:"Die Jahreszeiten (The Seasons), Hob.XXI:3: Der Sommer (Summer): Ach! das Ungewitter naht (Chorus)"
https://api.spotify.com/v1/search/?market=NL&limit=5&q=artist:"Joseph Haydn"+track:"Die Jahreszeiten...
{
"error" : {
"status" : 404,
"message" : "Not found."
}
}
But if i shrink the q parameter to 100 characters it works:
Query: artist:"Joseph Haydn"+track:"Die Jahreszeiten (The Seasons), Hob.XXI:3: Der Sommer (Summer): Ach! d"
https://api.spotify.com/v1/search/?market=NL&limit=5&q=artist:"Joseph Haydn"+track:"Die Jahreszeiten...
{
"tracks": {
"href": "https://api.spotify.com/v1/search?query=artist%3A%22Joseph+Haydn%22+track%3A%22Die+Jahreszeiten+%28The+Seasons%29%2C+Hob.XXI%3A3%3A+Der+Sommer+%28Summer%29%3A+Ach%21+d%22&type=track&market=NL&offset=0&limit=5",
"items": [
{
"album": {
"album_type": "album",
"artists": [
{
"external_urls": {
"spotify": "https://open.spotify.com/artist/656RXuyw7CE0dtjdPgjJV6"
},
"href": "https://api.spotify.com/v1/artists/656RXuyw7CE0dtjdPgjJV6",
"id": "656RXuyw7CE0dtjdPgjJV6",
"name": "Franz Joseph Haydn",
"type": "artist",
"uri": "spotify:artist:656RXuyw7CE0dtjdPgjJV6"
}
Is this a bug or do we need to limit our q parameter to 100 chars?