Skip to content

user-service returns 400 instead of 404 for missing profiles #58

@kenahrens

Description

@kenahrens

Problem\nThe user-service profile endpoint maps User not found to 400 Bad Request instead of 404 Not Found.\n\n## Expected\nMissing user profiles should return 404 so client behavior matches a not-found resource.\n\n## Acceptance criteria\n- GET /api/users/profile returns 404 when the authenticated user does not exist\n- controller test covers the not-found case\n- proxymock replay continues to pass after the change

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