response code error checking