Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Reporting API date=lastX and date=previousX not working

$
0
0

@ResponsibleUser wrote:

Matomo 3.8.1 & PHP 7.2.5

https://xxxxxxx/index.php?module=API&method=VisitsSummary.get&idSite=xxxx&date=previous52&period=week&format=tsv&token_auth=xxxxx

But this is the same for all date=lastX and date=previousX parameters:
Result in a message:

Error: Das Datumsformat muss YYYY-MM-DD, or ‘today’ or ‘yesterday’ oder eine andere, von der Funktion strtotime unterstützte Zeichenkette sein. (Besuchen Sie PHP: strtotime - Manual für nähere Informationen)

Whis is saying only: the date-format must be YYYY-MM-DD, or ‘today’ or ‘yesterday’ or one of the supported string of the function strtotime.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles