Matomo API to fetch results for idSite=all in csv, xls or tsv format not working for normal users

(Kavana ) #1


When we try to fetch visits data using Matomo API with idSite=all in csv or xls format it is not working for normal users even with admin access. Whereas it works fine for super users. Json, xml and html works fine for all users. Are there any extra settings that needs to be enabled for this to work for normal users?

Thanks & Regards,



I confirm, I have the exact same issue, when I use the following URL: https://myserver/piwik/index.php?module=API&method=VisitsSummary.getVisits&idSite=all&period=day&date=yesterday&format=csv&token_auth=TOKEN it’s working well with super user not for normal user or admin access.

Can you confirm the issue ? is there a workaround ?


(Lukas Winkler) #3


To me that sounded strange, but I tested it and can confirm that the combination of a non-superuser, csv and idSite=all doesn’t work.

I’ll add a GitHub issue.