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

API calls are all apparently broken in 2.14.0 (renderer format not valid) #8333

Closed
propertunist opened this issue Jul 12, 2015 · 4 comments
Closed
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@propertunist
Copy link

as can be seen in this thread: http://forum.piwik.org/read.php?2,128007
the standard method of making API calls is presently broken.

@mattab
Copy link
Member

mattab commented Jul 12, 2015

How do you reproduce the issue? the web API request are working on demo eg. http://demo.piwik.org/index.php?module=API&method=Actions.getPageUrls&format=json&idSite=7&period=day&date=today

@propertunist
Copy link
Author

i only have one API call that i am making outside of piwik (i.e. from my own app's code). i used the format of API request that is suggested in the piwik documentation for PHP. in this example i am passing in:

$request = new Request ('
module=API
&method=UserCountry.getLocationFromIP
&ip=' . $current_IP . '
&format=json
&token_auth=' . $piwik_secret
);

@mattab
Copy link
Member

mattab commented Jul 12, 2015

I think this duplicates #8311 - please reopen if it's a different issue

@mattab mattab closed this as completed Jul 12, 2015
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Jul 12, 2015
@propertunist
Copy link
Author

this issue has not been fixed for me in 2.14.1.
i have run the upgrade and i still see exactly the same fatal errors when running an API call. the 2.14 workaround still changes the fatal error from the 'root container has not been created yet' message to the 'renderer format not valid: 'json'' message. but ultimately the outcome remains - fatal error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants