@tsteur opened this issue on May 18th 2013

Hi,

this request used to work until a few days.

http://demo.piwik.org/index.php?urls%5B0%5D=method%3dLive.getCounters%26lastMinutes%3d30%26format%3dJSON%26idSite%3d7%26&urls%5B1%5D=method%3dLive.getCounters%26lastMinutes%3d1440%26format%3dJSON%26idSite%3d7%26&urls%5B2%5D=method%3dLive.getLastVisitsDetails%26filter_limit%3d20%26period%3dday%26date%3dtoday%26format%3dJSON%26idSite%3d7%26&idSite=7&module=API&date=today&token_auth=anonymous&period=day&format=json&method=API.getBulkRequest&language=en&

It returns a message "Please specify a value for 'lastMinutes'." but lastMinutes is defined.

There's another regression but I guess caused by the same change. In the past I've defined the idSite parameter for each method within the BulkRequest. Now I'm getting the error "Please specify a value for 'idSite'.". Was able to workaround by specifying idSite also for method API.getBulkRequest.

http://demo.piwik.org/index.php?urls%5B0%5D=method%3dLive.getCounters%26lastMinutes%3d30%26format%3dJSON%26idSite%3d7%26&urls%5B1%5D=method%3dLive.getCounters%26lastMinutes%3d1440%26format%3dJSON%26idSite%3d7%26&urls%5B2%5D=method%3dLive.getLastVisitsDetails%26filter_limit%3d20%26period%3dday%26date%3dtoday%26format%3dJSON%26idSite%3d7%26&module=API&date=today&token_auth=anonymous&period=day&format=json&method=API.getBulkRequest&language=en&

@mattab commented on May 23rd 2013

see: #3940

Note: this should now be working in b16

This issue was closed on May 23rd 2013
Powered by GitHub Issue Mirror