diff --git a/queenbee/config/auth.py b/queenbee/config/auth.py index 8095fa55..ec9e34be 100644 --- a/queenbee/config/auth.py +++ b/queenbee/config/auth.py @@ -61,7 +61,7 @@ def check_cached_token(self) -> str: auth_header=auth_header ) except HTTPError as err: - if err.code == 401: + if err.code == 403: return False else: raise err