report error when response code is not in the 200-299 range