add error message if response is not recognized