Skip to content

[catalog_manager] GET by uri returns 401 instead of 404 #306

@luzzu-lab

Description

@luzzu-lab

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions