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

You can't access this resource as it requires an 'view' access for the website id = 42. #9213

Closed
triffic-tang opened this issue Nov 13, 2015 · 2 comments
Assignees
Labels
worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@triffic-tang
Copy link

Hi,
I want to make piwik api call like this:
http://xxx.com?module=API&method=VisitsSummary.get&idSite=42&period=day&date=2015-11-01&format=xml

http://xxx.com is the server which ships the piwik application, but I get this error message:
<error message="You can't access this resource as it requires an 'view' access for the website id = 42."/>

Does I do something wrong?

@triffic-tang
Copy link
Author

Sorry, I resolved it by adding token_auth

@tsteur tsteur added the worksforme The issue cannot be reproduced and things work as intended. label Nov 15, 2015
@tsteur tsteur added this to the 2.15.1 milestone Nov 15, 2015
@tsteur tsteur self-assigned this Nov 15, 2015
@tsteur tsteur closed this as completed Nov 15, 2015
@zinwalin
Copy link

thanks for tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants