USEPA / StreamCat

Landscape summaries of natural and anthropogenic landscape features for ~2.65 million streams, and their associated catchments, within the conterminous USA
https://www.epa.gov/national-aquatic-resource-surveys/streamcat-dataset
52 stars 11 forks source link

Error message contains invalid URL #124

Open amedenblik opened 1 year ago

amedenblik commented 1 year ago

When I make an invalid query (for example: https://java.epa.gov/StreamCAT/metrics?name=fert&areaOfInterest=catchment&comid=179,B), I receive the following message:

Invalid Request: comid: Parameter value not valid: b. Consult the documentation at https://v26267mcpk506/StreamCat/v1/stable/metrics/about.jsp for guidance on request creation.

The URL https://v26267mcpk506/StreamCat/v1/stable/metrics/about.jsp throws a DNS_PROBE_FINISHED_NXDOMAIN error:

image

mhweber commented 1 year ago

Thanks @amedenblik - I'll open this as an issue in @USEPA/streamcattools and link to this - need to update error handling here and in a few other places, will try to get this addressed shortly