/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:
➜ curl https://api.gbif.org/v1/occurrence/download/0000739-171109162308116 | jq . { "key": "0000739-171109162308116", "doi": "doi:10.15468/dl.jmachn", "license": "http://creativecommons.org/licenses/by/4.0/legalcode", "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", "downloadLink": " http://api.gbif.org/v1/occurrence/download/request/0000739-171109162308116.z... ", "size": 0, "totalRecords": 14064, "numberDatasets": 105 }
The file ends up having data in it, so it's not size 0.
Best, Scott Chamberlain
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.orgmailto:api-users-bounces@lists.gbif.org> on behalf of Scott Chamberlain <myrmecocystus@gmail.commailto:myrmecocystus@gmail.com> Date: Friday 10 November 2017 at 19:53 To: "api-users@lists.gbif.orgmailto:api-users@lists.gbif.org" <api-users@lists.gbif.orgmailto: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:
? curl https://api.gbif.org/v1/occurrence/download/0000739-171109162308116 | jq . { "key": "0000739-171109162308116", "doi": "doi:10.15468/dl.jmachn", "license": "http://creativecommons.org/licenses/by/4.0/legalcode", "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", "downloadLink": "http://api.gbif.org/v1/occurrence/download/request/0000739-171109162308116.z...", "size": 0, "totalRecords": 14064, "numberDatasets": 105 }
The file ends up having data in it, so it's not size 0.
Best, Scott Chamberlain
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:
? curl https://api.gbif.org/v1/occurrence/download/0000739-171109162308116 | jq . { "key": "0000739-171109162308116", "doi": "doi:10.15468/dl.jmachn", "license": "http://creativecommons.org/licenses/by/4.0/legalcode", "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", "downloadLink": " http://api.gbif.org/v1/occurrence/download/request/0000739-171109162308116.z... ", "size": 0, "totalRecords": 14064, "numberDatasets": 105 }
The file ends up having data in it, so it's not size 0.
Best, Scott Chamberlain
participants (2)
-
Federico Mendez
-
Scott Chamberlain