Searches raise an error when response is not 2xx

Don't rely on the JSON.parse to barf on the response (it might be an error
with a JSON body).