Colvin Cowie created SOLR-17730:
-----------------------------------

             Summary: v2 API error handling
                 Key: SOLR-17730
                 URL: https://issues.apache.org/jira/browse/SOLR-17730
             Project: Solr
          Issue Type: Improvement
            Reporter: Colvin Cowie


Some APIs return 500s when a 400 or 404 would be more appropriate
 * /collections/foooooo returns a 500 instead of a 404
 * Invalid JSON / incompatible JSON in a request body returns a 500 instead of 
a 400. For example, if you send an Array rather than an Object you will get a 
Jackson exception which turns into a 500.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to