You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Raise InvalidResponseBodyError for every unparsable response body #1094
InvalidResponseBodyError is raised only by KeyValueStoreClient.get_record() (_resource_clients/key_value_store.py:62). Every other method parses the body with response.json() through response_to_dict() / response_to_list() (_utils/http.py:83), so a malformed body surfaces as a bare json.JSONDecodeError or ValueError.
The JS client raises InvalidResponseBodyError for any response body it can't parse.
Expected behavior
Every method raises InvalidResponseBodyError for an unparsable body. Callers that catch ValueError today would miss it, unless the new error also subclasses ValueError.
Activity
fix: raise InvalidResponseBodyError for every unparsable response body (
vdusek commentedon Oct 8, 2026
resolved by #1109