Project_id does not work on observations/taxa

This project taxon list includes some dragonflies, but no dragonfly observations meet the criteria:

https://www.inaturalist.org/observations/taxa?d1=2019-06-04&d2=2019-06-05&taxon_name=odonata&project_id=patuxent-research-refuge-moth-inventory&place_id=77206

3 dragonfly species show up, but none were actually observed and meet the criteria in the URL. Clicking on the View Observation links next to the order or any of the species correctly turns up zero observations. The Download CSV link leads to a file that also shows the 3 dragonfly species that don’t belong.

The corresponding observations search is
https://www.inaturalist.org/observations?d1=2019-06-04&d2=2019-06-05&place_id=77206&project_id=patuxent-research-refuge-moth-inventory&taxon_id=47792&taxon_name=odonata
which correctly shows 0 observations.

If I remove the project_id parameter from that link, observations of the 3 dragonfly species appear. Thus it appears that the buggy search parameter in the taxon list is the project_id.

1 Like

I took a stab at rewriting your topic title to reflect the issue here.

1 Like

The observations/taxa page does not recognize the project_id but instead uses the parameter projects - which seems to function in the same way? This is inconsistent unfortunately but I don’t know if it qualifies as a bug? Perhaps yes, because the parameterless page says “This tool accepts the same URL parameters as /observations” but still lists projects as a parameter:
https://www.inaturalist.org/observations/taxa

With the projects parameter your query would return zero results:
https://www.inaturalist.org/observations/taxa?d1=2019-06-04&d2=2019-06-05&taxon_name=odonata&projects=patuxent-research-refuge-moth-inventory&place_id=77206

2 Likes

If I use the projects parameter and remove the date, place, and taxon filters, it also returns 0 taxa, which is wrong. Thus projects also does not work.

https://www.inaturalist.org/observations/taxa?projects=patuxent-research-refuge-moth-inventory
https://www.inaturalist.org/observations/taxa?projects=21591

1 Like

Huh, it does work with some projects but not others. I tested the parameter with several projects and it seems it works only with Traditional projects like this one:
https://www.inaturalist.org/observations/taxa?place_id=any&projects=87411

But it does not work with Collection projects… Doh, this is getting more and more convoluted