Skip to content

bug: /v1/cost/summary silently ignores invalid date params #3309

Description

@OneStepAt4time

Bug Report

Priority: P3

Description:
/v1/cost/summary silently accepts invalid date params and returns 200 with null dates instead of a 400 error.

  • ?from=invalid&to=invalid → 200 with null dates (should be 400)
  • ?from=future&to=past → 200 with null dates (should be 400, reversed range)

Expected: Return 400 for malformed or reversed date ranges.

Found by: Daedalus (dogfooding, 2026-05-14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2backendbugSomething isn't workingreleasedIncluded in a published release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions