<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi William,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The solution is to use the download API instead.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In  other words, use the </span><a href="https://www.rdocumentation.org/packages/rgbif/versions/1.3.0/topics/occ_download"><span lang="EN-US">occ_download()</span></a><span lang="EN-US"> function instead of the
<a href="https://www.rdocumentation.org/packages/rgbif/versions/1.3.0/topics/occ_search">
occ_search()</a> function.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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: <a href="https://data-blog.gbif.org/post/downloading-long-species-lists-on-gbif/">
https://data-blog.gbif.org/post/downloading-long-species-lists-on-gbif/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I hope this helps!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Marie<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">API-users <api-users-bounces@lists.gbif.org> on behalf of William Gearty <wgearty@unl.edu><br>
<b>Date: </b>Monday, 4 November 2019 at 23.41<br>
<b>To: </b>"API-users@lists.gbif.org" <API-users@lists.gbif.org><br>
<b>Subject: </b>[API-users] Intermittent outages??<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hi all, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Any idea when the resource will be permanently stable again?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Will<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:0cm;border-collapse:collapse">
<tbody>
<tr>
<td valign="top" style="border:none;border-top:solid #D00000 1.5pt;padding:13.5pt 13.5pt 13.5pt 13.5pt">
<p class="MsoNormal"><img border="0" id="_x0000_i1025" src="https://ucomm.unl.edu/images/email-signature/Nebraska_N_RGB_small_on_white.gif" alt="https://ucomm.unl.edu/images/email-signature/Nebraska_N_RGB_small_on_white.gif"><o:p></o:p></p>
</td>
<td valign="top" style="border:none;border-top:solid #D00000 1.5pt;padding:11.25pt 13.5pt 13.5pt 0cm">
<p style="mso-margin-top-alt:0cm;margin-right:1.5pt;margin-bottom:1.5pt;margin-left:1.5pt;line-height:13.5pt">
<strong><span style="font-size:12.0pt;font-family:Helvetica;color:#454545">William Gearty</span></strong><span style="font-size:12.0pt;font-family:Helvetica;color:#454545"><o:p></o:p></span></p>
<p style="margin:1.5pt;line-height:10.5pt"><i><span style="font-size:9.0pt;font-family:"Georgia",serif;color:#454545">Postdoctoral Research Fellow<o:p></o:p></span></i></p>
<p style="margin:1.5pt;line-height:10.5pt"><span style="font-size:7.5pt;font-family:Helvetica;color:#454545">University of Nebraska–Lincoln<o:p></o:p></span></p>
<p style="margin:1.5pt;line-height:10.5pt"><span style="font-size:7.5pt;font-family:Helvetica;color:#454545">School of Biological Sciences<o:p></o:p></span></p>
<p style="margin:1.5pt;line-height:10.5pt"><span style="font-size:7.5pt;font-family:Helvetica;color:#454545"><a href="http://williamgearty.com" target="_blank">williamgearty.com</a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>