You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the service either returns a 500 status code when 400 is more appropriate.
Currently, the error returned is a plain string, which forces client code to resort to string matching in order to take different actions based on the specific failure.
Errors should, be structured and include a switch-able code and a detailed message to help developers in debugging.
{
"error": "no_data_for_region",
"message": "Species data not found for the NoWestYYY region"
}
The text was updated successfully, but these errors were encountered:
Currently the service either returns a 500 status code when 400 is more appropriate.
Currently, the error returned is a plain string, which forces client code to resort to string matching in order to take different actions based on the specific failure.
Errors should, be structured and include a switch-able code and a detailed message to help developers in debugging.
The text was updated successfully, but these errors were encountered: