Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API methods Actions.XXX return empty with period set to range and date between first and last day of current month on matomo 3.X #18068

Closed
benIT opened this issue Sep 28, 2021 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it. Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced.

Comments

@benIT
Copy link

benIT commented Sep 28, 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

Environment

  • 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

Cheers,
ben

@benIT benIT added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Sep 28, 2021
@sgiehl
Copy link
Member

sgiehl commented Sep 28, 2021

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

@benIT benIT closed this as completed Aug 2, 2022
@justinvelluppillai justinvelluppillai added the answered For when a question was asked and we referred to forum or answered it. label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced.
Projects
None yet
Development

No branches or pull requests

3 participants