Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: Meridian-2015.1.0, 16.0.4, 17.0.0
-
Fix Version/s: 17.0.0
-
Component/s: REST
-
Security Level: Default (Default Security Scheme)
-
Labels:None
Description
An HTTP 500 should be returned by the web server when a major problem has found while processing a request.
If the request handler found an invalid argument, a null argument, etc., it should return a proper HTTP response instead of HTTP 500.
There are several places on the ReST API on which an IllegalArgumentException is thrown. This is not correct and should be fixed.