Oracle Solution for Error ora-41714

Solution for Oracle Error ORA-41714

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

What triggered the Error:

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

What should we do to fix it:

Remove the window specification and try again.