diff --git a/invertedai/utils.py b/invertedai/utils.py index 7ebf27ca..ec22f2cf 100644 --- a/invertedai/utils.py +++ b/invertedai/utils.py @@ -75,7 +75,7 @@ def __init__(self): ) self._base_url = self._get_base_url() self._max_retries = float("inf") - self._status_force_list = [408, 429, 500, 502, 503, 504] + self._status_force_list = [403, 408, 429, 500, 502, 503, 504] self._base_backoff = 1 # Base backoff time in seconds self._backoff_factor = 2 self._jitter_factor = 0.5