check for view API error states on requests and raise exceptions accordingly