Oracle Error ORA-41714: invalid use of window specification with SESSION/TRANSACTION duration

Oracle Error Message

ORA-41714: invalid use of window specification with SESSION/TRANSACTION duration

Reason for the Error

An attempt was made to use the windowlen or windowsize attributes when the events are configured for SESSION or TRANSACTION duration.

Solution

Remove the window specification and try again.