fathomnet / community-feedback

0 stars 0 forks source link

Automcomplete throws an error if no matching term is found. #101

Open hohonuuli opened 1 year ago

hohonuuli commented 1 year ago

From Erin:

am noticing that there is an error in the console when a term isn’t found, or perhaps the connection is refused. But, it does not break the UI, it works for terms it can find (just Asteroidea for example), and I am thinking that the work you may have just pushed in the above comment may fix/be related?

See below the response looks like it failed, but the UI shows 0 results. To me it seems that is just the response code maybe when it can’t find the term. Since if I open https://fathomnet.org/api/taxa/query/parent/mbari/Asteracanthion%20aurantiacus directly I can see Internal Server Error: No concept named Asteracanthion aurantiacus was found

happy sad

Needs to be addressed for #91

kevinsbarnard commented 4 months ago

Might already be addressed