Skip to content

Returning 422 for /metric/statistics when filtering by date #346

@petruki

Description

@petruki

Describe the bug
The get operation below is returning 422 when filtering by date.

/metric/statistics?environment=default&domainid=[DOMAIN_ID]&statistics=all&key=[SWITCHER_KEY]&dateBefore=2022-08-10 00:00:00&dateAfter=2022-08-09 00:00:00

To Reproduce from Switcher Management
Steps to reproduce the behavior:

  1. Open Metrics
  2. Select filter
  3. Select dates

Expected behavior
Return data based on the chosen filter

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions