Inactive link to Oestridae

Platform:
website

Browser :
firefox 138.0

URLs:
https://www.inaturalist.org/taxa/1410244-Portschinskia-przewalskyi

Description of problem :

when clicking on Oestridae, link inactive
fine for superfamily or genus but not family

That is weird. It doesn’t work for me in Chrome either
The family page itself is fine:
https://www.inaturalist.org/taxa/154882-Oestridae

The link appear to be the same on both pages. If I copy the link and then paste it into a new tab, it works fine.

1 Like

what’s happening is that when you click there, the page is making a call to fetch taxon data from the v2 API, and that request is failing with error code 500, throwing the error message:
Invalid response for status code 200: results/0/taxon_photos/10/photo/attribution_name: must be string.

i think this is saying that the 11th taxon photo (https://www.inaturalist.org/photos/18842519) has no author specified, and /v2/taxa doesn’t know how to handle that case. so i guess the API just needs to handle photos with no photo credits.

in the meantime, the problem could be worked around by removing that photo as one of the associated photos. (will the taxon page ever display more than 8 photos anyway?)

2 Likes

Nice. Removed.

Thanks @pisum, I’ve made a github issue: https://github.com/inaturalist/inaturalist/issues/4579 (although it might get moved to API)

1 Like

Looks like it was fixed last week.

1 Like

This topic was automatically closed after 23 hours. New replies are no longer allowed.