V1 match versus V2 match

Having a bunch of taxa (mostly (sub)species) it is useful to complete their lineage to be able to use that in selections. Problem is: when a taxon is a subspecies, the V2 version of species match gives nothing, whereas the V1 version gives the correct answer:

[type or paste code here](https://api.gbif.org/v1/species/match?name=Pycnonotus%20barbatus%20layardi&limit=20&offset=0)

yields the correct key (ic. 6094955) but

[type or paste code here](https://api.gbif.org/v2/species/match?name=Pycnonotus%20barbatus%20layardi&limit=20&offset=0)

yields no results.

I know the V1 version might disappear in the (near) future, but for now it seems that is lacks something, or do I miss a parameter ?

Hi @waschulte

name isn’t one of the parameters of the V2, you need to use scientificName instead:

https://api.gbif.org/v2/species/match?scientificName=Pycnonotus%20barbatus%20layardi&limit=20&offset=0

Hi mgrosjean

Thanks for that. Stupid me :face_with_peeking_eye: