Not sure why you are getting a bad request then.
And you have all this loop code to only look up one streamer?