I really hope I’m not overlooking something simple, but I’m facing an issue trying to get non-chordate records using the occurrence download request API.
My real request is more complex, but I’ve narrowed my issue down to my “not” predicate. When I use this request, I am returned 0 results:
{
"type": "and",
"predicates": [
{
"type": "not",
"predicate": {
"type": "equals",
"key": "TAXON_KEY",
"value": "44",
"matchCase": false
}
},
{
"type": "equals",
"key": "TAXON_KEY",
"value": "1",
"matchCase": false
}
]
}
The GUI on my download page shows two branches:
It seems that the API is understanding the request well enough–occurrence records within Animalia, but excluding Chordata.
Can anyone shed some light on why I’d be returned zero records?
Thank you in advance!