@ThomasC wrote:
Hi,
Overlay-Api Call’s didn’t work with View or Admin rights (only with “Super-User Rights”):Scenario:
- Piwik-Account with view-rights (or admin-rights).
- Overlay.getFollowingPages Api-Call in a Browser without a Matomo-Login AND anonymous = No Access Rights <== Important!!! Example:
https://demo.matomo.org/index.php?module=API&method=Overlay.getFollowingPages&url=https://forum.matomo.org/&idSite=7&period=year&date=yesterday&format=xml&token_auth=<USER-ACCOUNT-TOKEN –WITH-VIEW-RIGHT>- Error: You can’t access this resource as it requires ‘view’ access for the website id = 7
=> Other Api-Methods with this “View-token” are working. For example: Actions.getPageUrl
More Informations:
- The Overlay.getFollowingPages call is working, with “&token_auth=anonymous” after adding View-Rights to User “Anonymouse”.
- The Overlay.getFollowingPages call is working after adding “Super User Rights” to the account with the used Token.
Could you please fix this bug.
Thank you!
Thomas
Posts: 3
Participants: 2