handle failed parsing of server response