code: def _check_response(self, response):
          
          if response.status_code > 299 or response.status_code < 200:
              log.debug("Received response code [%s] - headers: %s" % (response.status_code, str(response.headers)))
              try:
                  _json = response.json()
                  err_type = _json.get("error", '')
                  if err_type == 'RecordNotFound':
                      raise RecordNotFoundException(json.dumps(_json), response=response)
                  elif err_type == "TooManyValues":
                      raise TooManyValuesException(json.dumps(_json), response=response)
                  else:
                      raise APIException(json.dumps(_json), response=response)
              except ValueError:
                  response.raise_for_status()
docs: Check the response code returned by Zendesk. If it is outside the 200 range, raise an exception of the correct type.
  
          :param response: requests Response object.