Hi William,
It seems that a lot of users have been querying the search API lately, which puts a strain on the GBIF backend (especially it comes to deep paging) and makes it slow for everyone.
The solution is to use the download API instead. In other words, use the occ_download()https://www.rdocumentation.org/packages/rgbif/versions/1.3.0/topics/occ_download function instead of the occ_search()https://www.rdocumentation.org/packages/rgbif/versions/1.3.0/topics/occ_search function.
Using the download API would also allow you to get all your species in one download making it more convenient for citations later on because you would have only one DOI to cite. This blogpost give an example of R code to generate a download of a long list of species: https://data-blog.gbif.org/post/downloading-long-species-lists-on-gbif/ I hope this helps! Cheers Marie
From: API-users api-users-bounces@lists.gbif.org on behalf of William Gearty wgearty@unl.edu Date: Monday, 4 November 2019 at 23.41 To: "API-users@lists.gbif.org" API-users@lists.gbif.org Subject: [API-users] Intermittent outages??
Hi all,
I've noticed some intermittent outages lately, specifically with the occurrences API. I'm trying to query the occurrences API via rgbif for a bunch of taxa in a loop, and I keep getting "Error: 500 - Server error" and I have to restart my loop.
Any idea when the resource will be permanently stable again?
Thanks, Will
[https://ucomm.unl.edu/images/email-signature/Nebraska_N_RGB_small_on_white.g...]
William Gearty
Postdoctoral Research Fellow
University of Nebraska–Lincoln
School of Biological Sciences
williamgearty.comhttp://williamgearty.com