Closed damianooldoni closed 1 year ago
Update: now occurrenceStatus
is missing from data retrieved via API when multiple distributions are present as well. Check the same example as above:
website (https://www.gbif.org/species/141265335/verbatim) vs API (https://api.gbif.org/v1/species/141265335/distributions).
Any idea when this can be fixed? Thanks in advance.
This looks indeed like a bug. There should be a controlled status
field for each distribution.
We have changed the vocabulary for the occurrence status to a new DistributionStatus enumeration - perhaps that is the cause of the problem. The enumeration was introduced into the API classes 3 years ago, but we only put that live into the production species API sometime in April last year. So that corresponds to your initial issue date.
works in UAT: https://api.gbif-uat.org/v1/species/141265335/distributions will deploy this to prod now
deployed and reinterpreted.
Hi @mdoering, issue solved on prod for multiple species distributions. But occurrenceStatus is still missing for taxa with one species distribution. See https://api.gbif.org/v1/species/140563025/distributions
Hi,
Can it be that since a few days
occurrenceStatus
is missing in API species distribution endpoint for taxa with one distribution only? For taxa with multiple distributions,occurrenceStatus
is still present in information retrieved via API.On website I can see the field
occurrenceStatus
in Species Distribution (https://www.gbif.org/species/140563025/verbatim)However, this information is not present while retrieving distribution from API (https://api.gbif.org/v1/species/140563025/distributions):
This doesn't happen when multiple distributions are present. Example: website (https://www.gbif.org/species/141265335/verbatim) and API (https://api.gbif.org/v1/species/141265335/distributions).