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

Madhan Neethiraj updated ATLAS-1543:
------------------------------------
    Fix Version/s:     (was: 0.8-incubating)

> REST API calls return HTML for 401
> ----------------------------------
>
>                 Key: ATLAS-1543
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1543
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.8-incubating
>            Reporter: Apoorv Naik
>            Assignee: Apoorv Naik
>            Priority: Major
>
> Currently if I make an unauthorized call to any REST endpoint, I'm presented 
> with a HTML blob 
> {code:html}
> html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
> <title>Error 401 Full authentication is required to access this 
> resource</title>
> </head>
> <body><h2>HTTP ERROR 401</h2>
> <p>Problem accessing /api/atlas/v2/types/typdefs/headers. Reason:
> <pre>    Full authentication is required to access this 
> resource</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
> </body>
> </html>
> {code}
> Instead the API should return a meaningful JSON with error information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to