We have migrated our old piwik plateform (2.16.1) to matomo 3.9.1 and a call to matomo API with the parameter “idsite=all” return the error : “An unexpected website was found in the request: website id was set to ‘0’ .”
(example of request : https://example.com/matomo/index.php?format=xml&module=API&method=API.getProcessedReport&idSite=all&date=yesterday&period=day&apiModule=UserCountry&apiAction=getCountry&token_auth=xxx&language=fr)
The same API call to piwik plateforme works. Therefore, with a specific idsite the API call works for both plateforms (piwik and matomo).
I have read some reference of this issue on gitlab but it seems to have been fix on a previous version of matomo. I tried to upgrade matomo plateform at the latest version and i’m still facing the problem.
Am I facing a global bug or is there a solution (even temporary) i can apply ?
Thank you for your help.