Element84 / filmdrop-ui

A web UI to search and display results from the FilmDrop STAC API.
Other
23 stars 1 forks source link

UI fails when /queryables is not defined checking for cloud cover support #372

Closed philvarner closed 5 months ago

philvarner commented 5 months ago

Not every API has the /queryables endpoints for collections implemented, as it is not required. For example, https://api.impactobservatory.com/stac-aws/ running does not.

This causes the following fatal error in the console:

image

This is a bug, since if the queryables endpoint returns a 404, it should have the same effect as if it returned an empty set of queryables. The code throwing the error above should gracefully handle the case when the support for the cloud cover parameter is being checked, and proceed as if it is not supported.