diff --git a/lavague-sdk/lavague/sdk/client.py b/lavague-sdk/lavague/sdk/client.py index 1d0ec531..b5bdf143 100644 --- a/lavague-sdk/lavague/sdk/client.py +++ b/lavague-sdk/lavague/sdk/client.py @@ -57,7 +57,7 @@ def request_api( json=json, headers=headers, ) - if response.status_code > 299: + if response.status_code >= 400: raise ApiException(response.text) return response.content