Open luzzu-lab opened 6 years ago
When requesting the catalog for information about data that doesn't exist, the service returns a response with status 401 with message Error instead of a 404.
401
Error
404
Postman, curl
Send a GET request to
http://api.daf.teamdigitale.test/catalog-manager/v1/catalog-ds/get/data-that-does-not-exist
with valid Authorization header.
Authorization
Response should be a 404 for Not found with a meaningful error message if possible.
Not found
Response is 401 with message Error.
Subject of the issue
When requesting the catalog for information about data that doesn't exist, the service returns a response with status
401
with messageError
instead of a404
.Your environment
Postman, curl
Steps to reproduce
Send a GET request to
http://api.daf.teamdigitale.test/catalog-manager/v1/catalog-ds/get/data-that-does-not-exist
with valid
Authorization
header.Expected behaviour
Response should be a
404
forNot found
with a meaningful error message if possible.Actual behaviour
Response is
401
with messageError
.