Skip to content

csv export for VisitsSummary.getVisits with idSite=all and non-superuser not working #14362

@Findus23

Description

@Findus23

Reported twice in https://forum.matomo.org/t/matomo-api-to-fetch-results-for-idsite-all-in-csv-xls-or-tsv-format-not-working-for-normal-users/31663 and reproduced on my Matomo instance

Requesting the VisitsSummary.getVisits API when

  • the user of the token_auth is not a superuser
  • idSite=all is requested
  • and format=csv (or xls)

then the following error appears:

Error: The parameter 'idSite=' is missing from the request.

All other requests seem to work fine (e.g. format=json)

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions