Spotify API returning error on models.Search call for Artist "!!!" -
In our Spatial APP we are calling the model. Search function so that we can validate the list of 100 artists. The problem is that we are one of the artists who can be valid, "maybe !!!" This is the name of a real artist, though it returns back to Spotify and there is an empty list for error codes and valid artist names. We can validate the names of the artist in the app one by one and therefore handle the error code, though this will make the app a lot slower. Is this a bug in the API? Is Spotify going to fix it soon? Here's an example of what we are calling:
var search = new model Search ("Artist:" Mother Love Bone "or Artist:" Hole "or Artist:" Soundgarden "or Artist:" Stone Temple Pilots "or Artist:" Blind Mellon "or Artist:" Silver Scher "or Artist:" Alice in Chains "Artist": "Throwing Moses" or Artist: "Frank Black" or artist: "Bush" or artist: "Nirvana" or artist: "Pearl Jam" or artist: "Big Black" or "Big Black" : "Fogajee" or artist: "Santogold" or artist: "It's a horror of death" : "Pixie" or artist: "Liekeke Lee" or artist: "Dinosaur Jr" or artist: "Dinosaur Jr" or artist: "Morphine" or artist: "Guided by sound" or artist: "Spaceman 3" or artist: " Artist or Artist: Artist or Artist: "Youth News" or Artist: "Beta Band" or Artist: "Blue Valentine", "The John Spencer Blues Blast" or Artist: "John Spencer Blues Explosion "or artist:" death above 1979 "or Lazar: "Buzzock" or Artist: "The Bizkox" or Artist: "Television" or Artist: "Battles" or Artist: "Morassy" or Artist: "The Stone Roses" or Artist: "Ian Brown" or Artist: "The Artists: "Mubarak Monday" or artist: "Yo La Tengo" or artist: "Echo and Embedded" The Baneeman " Or artist: "special" or artist: "Interp L "or artist:" Yes Yehs "or artist:" dove "or artist:" Dover "or artist:" Joy Division "or artist:" Silver Jew "or artist:" !!! ""); Search.localResults = models.LOCALSEARCHRESULTS.IGNORE; Search.searchArtists = true; Search.searchAlbums = false; Search.searchTracks = false; Search.searchPlaylists = false; Search.observe (models.EVENT.CHANGE, function () {...}); Search.observe (models.EVENT.LOAD_ERROR, function () {// we got an error here}); Search.appendNext ();
I can not duplicate the search for that web API (Everyone has access to me is ). "!!!" Does not return any results, but it does not return any errors
Maybe try the URL-encoding? He "!!!" It does not matter in the "Web page" API - "21% 21% 21" - there is still no return but there is no error. But it is possible that there is specific encoding glitch for the main API.
Comments
Post a Comment