Matt Gilman created NIFI-1679:
---------------------------------
Summary: Rest Api: Provide more meaningful error messages when
unable to parse request body
Key: NIFI-1679
URL: https://issues.apache.org/jira/browse/NIFI-1679
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Reporter: Matt Gilman
Priority: Minor
When a request body (JSON/XML) cannot be marshalled into the underlying data
type, the Rest Api returns a generic error message that the message couldn't be
parsed.
We do have access to specific details (about why it couldn't be parsed) however
the message additionally contains technical details like Java class names that
should not be present in the response back to the user. We need to figure out a
way to obtain the specifics to provide a more meaningful response while not
providing/exposing the technical details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)