diff --git a/backend/app/routers/objects.py b/backend/app/routers/objects.py index 3b12aaf..7e19be8 100644 --- a/backend/app/routers/objects.py +++ b/backend/app/routers/objects.py @@ -296,7 +296,7 @@ async def _parse_objects_xlsx( def _cell(row: tuple, key: str) -> str | None: idx = col.get(key) - if idx is None: + if idx is None or idx >= len(row): return None val = row[idx] if val is None: