set level to error when a http error status is used