Rakesh Gupta created RANGER-5089:
------------------------------------

             Summary: 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
            Reporter: Rakesh Gupta
            Assignee: Rakesh Gupta


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