Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33095

Job jar related issue should be reported as BAD_REQUEST instead of INTERNAL_SERVER_ERROR

    XMLWordPrintableJSON

Details

    Description

      When submitting a job with incorrect parameters, such as an invalid entry class, the current response is an internal server error.

      To enhance the user experience and consistency, it is recommended to throw a Rest exception and return a BAD_REQUEST response code in such cases.

       

      Attachments

        1. image-2023-09-16-13-20-15-052.png
          137 kB
          Surendra Singh Lilhore
        2. image-2023-09-16-13-21-24-634.png
          163 kB
          Surendra Singh Lilhore

        Issue Links

          Activity

            People

              Unassigned Unassigned
              surendralilhore Surendra Singh Lilhore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: