@benIT opened this Issue on September 28th 2021

The issue occurs when the period parameter is set to range and the date parameter set to first and last day of current month:

This API call with period=range and date=2021-09-01,2021-09-29 returns data:

whereas this one with period=range and date=2021-09-01,2021-09-30 returns empty (http status code 200):

The same issue happens with other Actions.XXX methods:

but not with past months:

Workaround with period=month& not working

According to the doc, we tried to use period=month:

The API call returns incomplete data, some entries are missing.

Expected Behavior

API call should return a JSON response with data from the first day until the last day of this month.

Current Behavior

API call return empty response.

Steps to Reproduce (for Bugs)

API calls on demo.matomo.cloud demo site work fine:

The demo site is running matomo v4.4.1 whereas our instance is v3.14.1


  • matomo version: 3.14.1
  • PHP version: 7.3.11
  • MariaDB version: 10.3.18-MariaDB-0+deb10u1
  • OS : debian 10
  • Matomo error log: empty


@sgiehl commented on September 28th 2021 Member

@benIT We highly recommend updating to the latest Matomo version, as we likely won't spend much time on fixing issues for Matomo 3

This Issue was closed on August 2nd 2022
Powered by GitHub Issue Mirror