Improved error message when getting unexpected response from webservices.