Oracle Solution for Error ora-16036

Solution for Oracle Error ORA-16036

ORA-16036: invalid MANAGED recovery CANCEL option

What triggered the Error:

A mode other than IMMEDIATE follows the CANCEL keyword in RECOVER MANAGED STANDBY DATABASE statement.

What should we do to fix it:

Specify either nothing or IMMEDIATE following CANCEL.