diff --git a/titiler/stacapi/reader.py b/titiler/stacapi/reader.py index 6bc3c48..10ef9d7 100644 --- a/titiler/stacapi/reader.py +++ b/titiler/stacapi/reader.py @@ -81,7 +81,7 @@ def _get_asset_info(self, asset: str) -> AssetInfo: url = asset_info.get_absolute_href() or asset_info.href if alternate := stac_config.alternate_url: - url = asset_info[alternate]["href"] + url = asset_info.to_dict()["alternate"][alternate]["href"] info = AssetInfo( url=url,