[ https://issues.apache.org/jira/browse/ATLAS-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dharshana M Krishnamoorthy updated ATLAS-4075: ---------------------------------------------- Attachment: Screenshot 2020-12-11 at 1.31.22 PM.png Screenshot 2020-12-11 at 1.29.32 PM.png > 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 > Priority: Major > 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)