-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Security, Server - Administration
-
None
-
1
Problem
JsonParseException is thrown from the third-party library and converted to "Internal Server Error (500)". As a result, the user only sees a "System Error" message without any details. This causes a need for a system administrator to contribute to the issue for further investigation of the HTTP 500 error codes within the logs.
Suggested Solution
As the JsonParseException is mostly caused by the provided data, it is better that this exception should be handled and some text added as a hint of a possible problem in such a case (e.g., additionally to the Exception details and hint to contact the server administrator, add also a hint like "Please also check the data provided within your request because sometimes Exceptions could be caused by incorrect input data").
Why This Is Important
It helps the user fix the issue without consulting the system administrator and improves productivity.