Open mdoering opened 3 years ago
Because of this we end up now with a few COL constituent datasets that have rather little metadata: https://www.gbif.org/dataset/f7f4ba83-8c7f-40b0-876a-018d37332086
@mdoering that constraint checks that the home_page is an HTTP URL, see:
should we then return a 400 bad request maybe? I have a jersey exception handler that converts org.postgresql.util.PSQLException looking for any constraint violations in COL that might be useful to adopt in the registry:
When posting an EML document to the registry I see a 500 error. Turns out to be a unique constraint error for the homepage.
Not sure if that constraint is meant to be there, but if so we should at least return some meaningful error like 4xx.