Posted this on Stackoverflow and then realised here would be more appropriate.
I’m trying to make an application to get data from the Piwik API to
process and analyse. I’m having trouble getting the API URL to work
properly for our specific site (our Piwik is a multi-site installation,
our site is identified by a segment variable, specifically
customVariableValue1=9).
I get this error: <error message="You can't access this resource as it requires an 'view' access for the website id = 3."/> back. The token I am using is definitely correct so I have no idea why it’s coming back with that error.
Hey, thanks for the reply! As far as I know the id site is fine, that’s the one we use to view the data that I’m trying to get. The problem happens when I add the segment in. How am I supposed to find the correct idsite etc for the api url to use?