diff --git a/pygeoapi/provider/sensorthings.py b/pygeoapi/provider/sensorthings.py index c5281875c..b888a60f7 100644 --- a/pygeoapi/provider/sensorthings.py +++ b/pygeoapi/provider/sensorthings.py @@ -119,6 +119,11 @@ def __init__(self, provider_def): for (name, rs) in CONFIG['resources'].items(): pvs = rs.get('providers') + + if pvs is None: + LOGGER.debug(f'Skipping collection: {name}') + continue + p = get_provider_default(pvs) e = p.get('entity') or self._get_entity(p['data']) if any([