Skip to content

Ensure a not found exception is thrown when a member is not found #9

@proggeler

Description

@proggeler

When a request is sent to member with a member_id (email or identifier) in the url that is not present, the service would return a 400, bad request.
This should be handled as a 404, not found response and throw a NotFoundException.

An incorrect email or member_id should still return a bad request. (message: Invalid member_id)
A correct email address that is not found should throw a NotFoundException (message should be: Unknown member, Invalid member_id given)
A correct member_id should throw a NotFoundException (message: Unknown member)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions