Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions marimo/_sql/engines/pyiceberg.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,16 @@ def get_databases(
engine=self._engine_name,
)
)
except Exception:
LOGGER.warning("Failed to get databases", exc_info=True)
except Exception as e:
# Check if this is a permission/auth error (e.g., 403 Forbidden)
error_str = str(e).lower()
if "403" in error_str or "forbidden" in error_str:
LOGGER.debug(
"Cannot list namespaces due to insufficient permissions. "
"You can still access tables if you know the namespace name."
)
else:
LOGGER.warning("Failed to get databases", exc_info=True)

return databases

Expand Down
Loading