You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Dharshana M Krishnamoorthy (Jira)" <ji...@apache.org> on 2020/12/11 08:04:00 UTC

[jira] [Created] (ATLAS-4075) 500 internal server error is thrown instead of 400 malformed request from atlas when the payload is mal formed

Dharshana M Krishnamoorthy created ATLAS-4075:
-------------------------------------------------

             Summary: 500 internal server error is thrown instead of 400 malformed request from atlas when the payload is mal formed
                 Key: ATLAS-4075
                 URL: https://issues.apache.org/jira/browse/ATLAS-4075
             Project: Atlas
          Issue Type: Bug
            Reporter: Dharshana M Krishnamoorthy
         Attachments: Screenshot 2020-12-11 at 1.29.32 PM.png, Screenshot 2020-12-11 at 1.31.22 PM.png

{code:java|title=Malformed payload for creating a classification}
{
"classificationDefs": [
{
"name": "tag_1",
}
]
}
{code}
{code:java|title=Malformed payload for creating a classification}
{
"classificationDefs": [
{
"name": "tag_1"
},
]
}
{code}
There is an additional "," in the above 2 payloads, which make it a client side payload error. But when firing such a request 500 internal server error is thrown
  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)