: I am pretty sure the url is no problem. The query syntax has a : problem, so it returns 400. I just want to grab that value.
When Solr encounters an error, it returns the status code and error message w/o specifying any sort of error page. The servlet container (jetty, resin, tomcat, etc...) then decides how to format it. So you could look into configureing a custom error page in your servlet container to generate it a format your client code can understand. There is an open issue in Jira to make it possible for the response writers to format the errors, but it hasn't gotten a lot of attention over the years... https://issues.apache.org/jira/browse/SOLR-141 -Hoss