diff --git a/openbb_terminal/session/hub_model.py b/openbb_terminal/session/hub_model.py index f64c9b74e88..8fa1c10b03c 100644 --- a/openbb_terminal/session/hub_model.py +++ b/openbb_terminal/session/hub_model.py @@ -165,7 +165,7 @@ def fetch_user_configs( headers={"Authorization": f"{token_type.title()} {token}"}, timeout=timeout, ) - if response.status_code != 200: + if response.status_code not in [200, 401]: console.print("[red]\nFailed to fetch configurations.[/red]") return response except requests.exceptions.ConnectionError: