Hi Akshat
You are mixing production and test URLs there. You create the download on test (UAT) and then request the result from production. (it is available in the UAT environment: http://api.gbif-uat.org/v1/occurrence/download/0000049-180416113528795)
The production GBIF API is on https://api.gbif.org and not https://api.gbif-uat.org
Can you please use production URLs only (i.e. relaunch your download) and then let us know if you still have issue?
Many thanks, Tim
From: API-users api-users-bounces@lists.gbif.org on behalf of Akshat Pant akshat26@terpmail.umd.edu Date: Saturday, 21 April 2018 at 18.06 To: "API-users@lists.gbif.org" API-users@lists.gbif.org Subject: [API-users] Asynchronous download service
Hi, I am trying to use the asynchronous download service. I used the following curl query:
curl -i --user akshat26:**** -H "Content-Type: application/json" -X POST -d @query.json 'https://api.gbif-uat.org/v1/occurrence/download/request'
But the download link doesn't seem to be working.
HTTP/1.1 201 Created
Date: Fri, 20 Apr 2018 23:33:25 GMT
Content-Type: application/json
Location: http://api.gbif-uat.org/occurrence/download/request/0000049-180416113528795
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: HEAD, GET, POST, DELETE, PUT
Connection: close
Server: Jetty(9.2.z-SNAPSHOT)
curl -Ss http://api.gbif.org/v1/occurrence/download/0000049-180416113528795
I hope someone can help
-- Akshat Pant Graduate Student | University of Maryland Master of Information Management