Fix unhelpful error message when response code is unexpected.
Fix unhelpful error message when response code is unexpected.

[#85167040]

robdimsdale/wl,robdimsdale/wl,robdimsdale/wundergo,robdimsdale/wundergo