[ 
https://issues.apache.org/jira/browse/ATLAS-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sharmadha Sainath updated ATLAS-2026:
-------------------------------------
    Attachment: ATLAS-2026.2.patch

> Basic/DSL Query with invalid typeName/classification name throws 500 Internal 
> server error
> ------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2026
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2026
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.9-incubating
>            Reporter: Sharmadha Sainath
>         Attachments: ATLAS-2026.2.patch, ATLAS-2026.patch
>
>
> Following DSL/Basic queries with invalid classification name and type name 
> throw 500 Internal server error
> {code}
> http://localhost:21000/api/atlas/v2/search/basic?typeName=unknown_type&classification=unknown_tag
> http://localhost:21000/api/atlas/v2/search/dsl?typeName=unknown_type&classification=unknown_tag
> {code}
> It would be appropriate to throw 40X Error code instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to