Skip to content

Date Range report invalidation through API returns error #20400

@Starker3

Description

@Starker3

When using the API endpoint to invalidate reports: CoreAdminHome.invalidateArchived
And invalidating for a date range: period=range&dates=2023-01-01,2023-02-24

The following error is returned:

<result>
<error message="The date '2023-01-01' is not a correct date range. It should have the following format: 'lastN', 'previousN', 'YYYY-MM-DD,YYYY-MM-DD'."/>
</result>

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions