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

Goal plugin is falsely reported to be deactivated on API request #11326

Closed
jvolker opened this issue Feb 8, 2017 · 1 comment
Closed

Goal plugin is falsely reported to be deactivated on API request #11326

jvolker opened this issue Feb 8, 2017 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@jvolker
Copy link

jvolker commented Feb 8, 2017

I'm trying to access the API with /?module=API&method=Goal.addGoals&idSite=2&name=my%20goal&matchAttribute=url&patternType=contains&pattern=example%20pattern&format=JSON&token_auth=[tokenAuth] from Node.js

I'm getting back the following error even though the goal plugin has been activated:
{ result: 'error', message: 'The plugin Goal is not enabled. You can activate the plugin on Settings > Plugins page in Piwik.' }

I'm using Piwik 3.0.1
Please let me know, if this is not enough information and what else I should provide!

Thanks.

@tsteur
Copy link
Member

tsteur commented Feb 8, 2017

It should be Goals.addGoal not Goal.addGoals

@tsteur tsteur closed this as completed Feb 8, 2017
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Feb 8, 2017
@tsteur tsteur added this to the 3.0.2 milestone Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants