BIP2425
Severity
20 : Error
Message
Interval qualifier not valid for subtraction between values <insert_1> and <insert_2>.
Explanation
If an interval qualifier is specified after a subtraction expression, the operands of the expression must be datetime values. The subtraction was being performed between values <insert_1> and <insert_2>.
Response
Ensure that the operands of the expression are datetime values.