Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

404 if field (track / artist etc.) has "/" in it's name #191

Closed
nachmore opened this issue Mar 28, 2016 · 2 comments
Closed

404 if field (track / artist etc.) has "/" in it's name #191

nachmore opened this issue Mar 28, 2016 · 2 comments

Comments

@nachmore
Copy link

I'm trying to grab data for "Numb/Encore" by "JAY Z" and the following return 404s:

https://api.spotify.com/v1/search?q=track:%22Numb%2FEncore%22+artist:%22JAY%20Z%22&type=track
https://api.spotify.com/v1/search?q=track:%22Numb/Encore%22+artist:%22JAY%20Z%22&type=track

Interestingly if I replace the '/' with a space (' ') I get the correct results.

Thanks!

@nachmore
Copy link
Author

Looking through my logs I see more instances of this, for example searching for songs by AC/DC etc:

https://api.spotify.com/v1/search?q=track:%22Thunderstruck%22+artist:%22AC/DC%22&type=track
https://api.spotify.com/v1/search?q=track:"0 To 100 / The Catch Up"+artist:"Drake"&type=track
https://api.spotify.com/v1/search?q=track:"Prayers/Triangles"+artist:"Deftones"&type=track

(there are a bunch more...)

@nachmore nachmore changed the title 404 if track has "/" in it's name 404 if field (track / artist etc.) has "/" in it's name Mar 28, 2016
nachmore added a commit to nachmore/toastify that referenced this issue Mar 28, 2016
@thelinmichael
Copy link
Contributor

Thanks @nachmore! Closing since it's the same issue as #187.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants