Hi devs, 
I’m trying to fetch events from the API (DHIS 2.22 build 21829). For a small 
number of events, everything works fine. However, for larger datasets, it fails 
to load the full "events" object. 

This is the request (should return about 700 events):
api/events.json?orgUnit=M4nRM5O3mH8&ouMode=DESCENDANTS&programStage=wmSb9TmevMn&startDate=2013-02-17&endDate=2016-02-17&status=COMPLETED&skipPaging=true

These are the error messages:
Chrome: "ERR_CONTENT_LENGTH_MISMATCH"
Curl: curl: (18) transfer closed with 1557104 bytes remaining to read
node.js request.get: simply loads the first part of the events object as a 
string

Any advice?

Olav
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to