Truncated response to


I have a meteor method that makes a call to a remote api:

 do_the_thing:function() {
        console.log("doing the thing")
    "http://super.rad.api",{headers: { 'Content-Type': 'application/x-www-form-urlencoded' }}, function(err,result) {
        if(err) { console.log(err) } 

I can send params that allow me to fetch between 1 and MAX_RECORDS (50 in this case). When I request more than a few records at a time the response is truncated, usually mid-record. Am I missing something obvious here? I’ve tested the api call with a firefox plugin and all is groovy


Note, when I make the API call from the client I do not have truncated replies…


this.unblock() on the server allows a subsequent method to begin running before this method has completed. On the client this.unblock() does nothing (no fibers on the client). I suspect that removing this.unblock() will fix the issue.