Skip to content

/species/search API filtered by datasetKey returns duplicate (2x) results. Half of the taxonKeys are not good. #152

@jloomisVCE

Description

@jloomisVCE

A new issue arose last week with the /species/search API query by datasetKey: it began returning duplicate (2x) row results (for some taxa in some species-checklists.) When that happens, half of the taxonKeys returned are not good - they 404 when used against the /species/{taxonKey} API endpoint.

An example /species/search API Query with this issue:

https://api.gbif.org/v1/species/search?datasetKey=73eb16f0-4b06-4347-8069-459bc2d96ddb&rank=FAMILY

Resulting taxonKeys not found :

https://api.gbif.org/v1/species/210652089
https://api.gbif.org/v1/species/210652108
https://api.gbif.org/v1/species/210652094
https://api.gbif.org/v1/species/210652113
https://api.gbif.org/v1/species/210652136

An 2nd example /species/search API Query with this issue:

https://api.gbif.org/v1/species/search?datasetKey=f2faaa4c-74e9-457a-8265-06ef5cc73626&rank=ORDER

An example /species/search API Query without this issue:

https://api.gbif.org/v1/species/search?datasetKey=950853df-adf7-4c5a-b955-266bb6a194df&rank=FAMILY

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions