error response validations