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
Currently, the client tries to unmarshal the response into the declared type. When there is an error like Unauthorized this ends up failing with a a message like json.Unmarshal parse error U at line 1:1, which isn't very helpful to the end user.
Upon failing to decode a response, we should fall back to a more general conversion and use that in our error reporting.
The text was updated successfully, but these errors were encountered:
Currently, the client tries to unmarshal the response into the declared type. When there is an error like
Unauthorized
this ends up failing with a a message likejson.Unmarshal parse error
Uat line 1:1
, which isn't very helpful to the end user.Upon failing to decode a response, we should fall back to a more general conversion and use that in our error reporting.
The text was updated successfully, but these errors were encountered: