Message Oracle ORA-41711 - invalid attribute in the rule conditions having clause

ERRORinvalid attribute in the rule conditions having clause
CAUSEAn invalid attribute is used in the specification for the having clause of the rule condition.
ACTIONCorrect the input and try again.