Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8040

Return an HTTP error code from failed REST API operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.19.0
    • 1.20.0
    • None
    • None

    Description

      Multiple REST API operations, notably affecting storage config operations, return an error message with an HTTP status code of 200 when an operation fails.  The web UI depends on this behaviour in some places.  REST clients should receive an HTTP error code instead.

      Attachments

        Issue Links

          Activity

            People

              dzamo James Turton
              dzamo James Turton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: