Skip to content

Missing user get's response unauthorized instead of not found #438

@gintsgints

Description

@gintsgints

When authorized user do:

GET api/users/<user_id/

with user that does not exists it get's 401 - unauthorized.
Wouldn't be correct to respond with 404 - Not found ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions