<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hello,</div>
<div><br>
</div>
<div>This query was previously working:</div>
<div><br>
</div>
<a href="http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&amp;type=OCCURRENCE&amp;limit=1" target="_blank">http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&amp;type=OCCURRENCE&amp;limit=1</a>
<div><br>
</div>
<div>But now returns:</div>
<div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;">&quot;Value SPAIN invalid for filter parameter PUBLISHING_COUNTRY&quot;</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt; white-space: pre-wrap;">We've switched to using the 2 letter iso country code (which works fine):&nbsp;</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div>
<div><a href="http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&amp;type=OCCURRENCE&amp;limit=1" target="_blank">http://api.gbif.org/v0.9/dataset/search?publishingCountry=ES&amp;type=OCCURRENCE&amp;limit=1</a></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;">but just thought I'd flag this in case it wasn't an intended change. This JIRA issue [1] suggests that the intention is to support both.</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;">Cheers</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;">Dave Martin</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;">ALA</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div>
<div><span style="white-space: pre-wrap; font-size: 10pt;">[1] </span><span style="white-space: pre-wrap;">http://dev.gbif.org/issues/browse/POR-43</span></div>
<div>
<pre style="word-wrap: break-word; white-space: pre-wrap;"><br></pre>
</div>
</div>
</body>
</html>