better handling error conditions, provide default error message if nothing can be parsed form the response