diff --git a/src/sfrbox_api/bridge.py b/src/sfrbox_api/bridge.py index 4649a02..563d9f7 100644 --- a/src/sfrbox_api/bridge.py +++ b/src/sfrbox_api/bridge.py @@ -118,7 +118,7 @@ def _check_response(self, response: httpx.Response) -> XmlElement: and (code := err.get("code")) and (msg := err.get("msg")) ): - if code in {"115", "204"}: + if code in {"115", "204", "901"}: # Reset token on auth failure self._token = None raise SFRBoxAuthenticationError(f"Api call failed: [{code}] {msg}")