[
https://issues.apache.org/jira/browse/FLINK-33095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765922#comment-17765922
]
Surendra Singh Lilhore commented on FLINK-33095:
------------------------------------------------
Current response from server :
!image-2023-09-16-13-20-15-052.png!
==========
It should be something like this :
!image-2023-09-16-13-21-24-634.png!
> Job jar related issue should be reported as BAD_REQUEST instead of
> INTERNAL_SERVER_ERROR
> ----------------------------------------------------------------------------------------
>
> Key: FLINK-33095
> URL: https://issues.apache.org/jira/browse/FLINK-33095
> Project: Flink
> Issue Type: Bug
> Components: Runtime / REST
> Affects Versions: 1.16.0
> Reporter: Surendra Singh Lilhore
> Priority: Major
> Attachments: image-2023-09-16-13-20-15-052.png,
> image-2023-09-16-13-21-24-634.png
>
>
> 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.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)