You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Colvin Cowie (Jira)" <ji...@apache.org> on 2025/04/04 16:34:00 UTC

[jira] [Created] (SOLR-17730) v2 API error handling

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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org