IndexError: list index out of range
Sentry Issue: HESTIA-FILES-UPLOAD-PYTHON-29
IndexError: list index out of range
(11 additional frame(s) were not displayed)
...
File "hestia_earth/validation/validators/site.py", line 108, in validate_site
validate_area(site) if need_validate_area(site) else True,
File "hestia_earth/validation/validators/shared.py", line 318, in validate_area
expected_value = get_geojson_area(node.get('boundary'))
File "hestia_earth/validation/geojson.py", line 16, in get_geojson_area
def get_geojson_area(geojson: dict): return round(area(_get_geometry_by_type(geojson)) / 10000, 1)
File "hestia_earth/validation/geojson.py", line 13, in _get_geometry_by_type
def _get_geometry_by_type(geojson): return GEOMETRY_BY_TYPE[geojson.get('type')](geojson)
File "hestia_earth/validation/geojson.py", line 5, in <lambda>
'FeatureCollection': lambda x: _get_geometry_by_type(x.get('features')[0]),