Handle erroneous responses.