Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1938

Return 400 instead of 500 on rest request param validation

    XMLWordPrintable

Details

    • Task
    • Status: Done
    • L3 - Default
    • Resolution: Done
    • None
    • 3.3.0-alpha1, 3.3.0
    • backend
    • None
    • Not defined

    Description

      Context:
      Some endpoints like for instance /alert return HTTP 500 errors codes on request param validation. Which isn't a good fit as this is a client error thus should be 400.

      AT:

      • actual client errors that are signaled with a 500 response code return 400, this affects at least the following rest resourceS:
        • `/alert`

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce