Internal Server Error using CV on one specific observation

Any attempt to use computer vision against this observation generates “Error: Internal Server Error”

https://www.inaturalist.org/observations/205499662

Browser: Chrome Version 123.0.6312.107 (Official Build) (arm64)

I have tried to add and remove IDs and DQA votes to prompt reindexing, but this still persists. I assume it could be caused by a problem with the first image in the observation, but it displays fine.

I can reproduce.

The get request to https://api.inaturalist.org/v1/computervision/score_observation/205499662

gives the following response: 1. {error: “Error scoring image”, status: 500}

1 Like

We came across another observation that behaved the same way. It’s potentially due to the taxon not having a geo threshold. we’re investigating.

3 Likes

I guess when you say it might be caused by the taxon not having a geo threshold, that’s referring to one of maybe 10 taxa that is being returned as a possible CV match for this image? It doesn’t seem to be anything to do with the current ID (Libertia paniculata) as CV works fine on several other observations of that species.

FWIW, I’m pretty doubtful that the current ID is correct, but identifying fruiting plants is a challenge (and I thought CV might give me some starting points).

One other data point… If I specify a different parent taxon for the CV search that makes no difference—I get the error every time.

I encountered this for a few observations a while back, but thought it had to do with outdated session cookies or something. I found one again so if it helps, here’s another observation with the same problem: https://www.inaturalist.org/observations/252725927

The species itself isn’t in the CV model at all it seems, so I don’t know which taxon it would be about.

Found another one, https://www.inaturalist.org/observations/73473174

1 Like

@tiwane: Were you able to track down a cause for this?

I don’t think so, but I’ll say that I’m not seeing any errors generated for the three observations listed here when I try to get suggestions, eg

Using Firefox.

Thanks for checking. I also don’t get an error when I let CV make ID suggestions in the Species Name box.

But if I open the Compare dialog and switch to Visually Similar, I get this:

The error is consistent across Chrome, Firefox and Safari (all on MacOS). I also get the same error in the Identify dialog.

My limited debugging skills suggest that iNat is returning an HTTP 500 Internal Server Error in response to this API request

https://api.inaturalist.org/v1/taxa/suggest?place_id=97077&taxon_id=874810
&source=visual&order_by=default&featured_observation_id=73473174&locale=en
&image_url=https%3A%2F%2Finaturalist-open-data.s3.amazonaws.com%2Fphotos%2F119957238%2Fmedium.jpeg
&lat=40.996779965&lng=20.9346249967

The consistent factor at this point appears to be the Taxon (e.g. genus Trochiscocoris) that CV is requested to search within. If I choose to search within family Strachiini, no error. If I force CV to search within Trochiscocoris on a different observation, same error.

2 Likes

OK thanks, I can replicate at https://www.inaturalist.org/observations/73473174

Made a github issue: https://github.com/inaturalist/inaturalist/issues/4406

1 Like