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

Dineshkumar Yadav updated RANGER-5089:
--------------------------------------
    Fix Version/s: 3.0.0

> Getting 204 instead of 404 status code when invalid service name is passed
> --------------------------------------------------------------------------
>
>                 Key: RANGER-5089
>                 URL: https://issues.apache.org/jira/browse/RANGER-5089
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 3.0.0, 2.6.0
>            Reporter: Rakesh Gupta
>            Assignee: Rakesh Gupta
>            Priority: Major
>             Fix For: 3.0.0
>
>
> The API /service/xusers/secure/download/\{invalid_service} returns a 204 No 
> Content status for invalid service names, instead of the expected 404 Not 
> Found.
> *CURRENT BEHAVIOR:*
> The API /service/xusers/secure/download/\{invalid_service} returns a 204 No 
> Content status even when the service name is invalid or does not exist.
> *EXPECTED BEHAVIOR:*
> The API should return a 404 Not Found status when the provided service name 
> is invalid or does not exist.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to