Thanks a lot! 

On Sun, Nov 12, 2017 at 11:50 PM Federico Mendez <fmendez@gbif.org> wrote:
Hi Scott, you’re right about this issue, I’ll investigate what’s happening there.

Bests, Federico Mendez.

From: API-users <api-users-bounces@lists.gbif.org> on behalf of Scott Chamberlain <myrmecocystus@gmail.com>
Date: Friday 10 November 2017 at 19:53
To: "api-users@lists.gbif.org" <api-users@lists.gbif.org>
Subject: [API-users] /occurrence/download route sometimes give size: 0

Hi, 

Just ran into this, not sure how often it happens, but sometimes size value is zero when at least I don't think it should be:

{
  "key": "0000739-171109162308116",
  "doi": "doi:10.15468/dl.jmachn",
  "request": {
    "predicate": {
      "type": "greaterThanOrEquals",
      "key": "ELEVATION",
      "value": "11000"
    },
    "format": "DWCA",
    "sendNotification": false
  },
  "created": "2017-11-10T18:37:35.542+0000",
  "modified": "2017-11-10T18:38:54.444+0000",
  "status": "SUCCEEDED",
  "size": 0,
  "totalRecords": 14064,
  "numberDatasets": 105
}

The file ends up having data in it, so it's not size 0. 

Best, 
Scott Chamberlain