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 message Error instead of a 404.
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 for Not found with a meaningful error message if possible.
Actual behaviour
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
401with messageErrorinstead 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
Authorizationheader.Expected behaviour
Response should be a
404forNot foundwith a meaningful error message if possible.Actual behaviour
Response is
401with messageError.