<div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br></div>I am trying to create a downloads file using the GBIF Occurrence Download API, but I'm not getting the expected result. I want to pass in a dataset key from which I want all occurrences.<br><br></div>The predicate I defined is this one:<br><br><pre>{<br>  "creator": "bartaelterman",<br>  "notification_address": ["<a href="mailto:bart.aelterman@gmail.com" target="_blank">bart.aelterman@gmail.com</a>"],<br>  "predicate": {<br>    "value": "7d5a76b9-819f-4fb8-aab0-<wbr>664d4089aa54",<br>    "key": "DATASET_KEY",<br>    "type": "equals"<br>  }<br>}<br><br></pre></div>I've also set the following headers:<br><br>Content-Type:'application/json,<br>Accept: application/json<br><br></div>Yet, I get a 500 response from the API. Am I doing something wrong in my predicate definition?<br><br></div>Thanks,<br><br></div>Bart<br><div><div><div><div><br></div></div></div></div></div>