Sharmadha Sainath created ATLAS-2326:
----------------------------------------
Summary: V1 API /api/atlas/entities/<invalid_GUID> throws 500
Internal exception
Key: ATLAS-2326
URL: https://issues.apache.org/jira/browse/ATLAS-2326
Project: Atlas
Issue Type: Bug
Components: atlas-core
Reporter: Sharmadha Sainath
Attachments: invalid_guid_exception.txt
V1 API /api/atlas/entities/<invalid_GUID> throws 500 Internal server exception
but with expected error message :
{code}
{
error: "Given instance guid invalidGUIDkqDFDFNyb2zs5 is invalid\/not found"
}
{code}
>From application logs, we could see that it throws the Atlas Base Exception
>first , but later WebApplicationException is thrown.
V2 API /api/atlas/v2/entity/<invalid_GUID> throws 404.
Attached the complete stack trace.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)