getting this error while running datapatch verbose for october cpu patches
Log file for this invocation: /Apps/oracle/cfgtoollogs/sqlpatch/sqlpatch_7694_2021_10_25_16_31_50/sqlpatch_invocation.log
Connecting to database...OK
DBD::Oracle::db do failed: ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SESSION", line 130
ORA-06512: at "SYS.DBMS_REGISTRY_SYS", line 2385
ORA-06512: at "SYS.DBMS_REGISTRY_SYS", line 2700
ORA-06512: at "SYS.DBMS_REGISTRY", line 2714
ORA-06512: at line 1 (DBD ERROR: OCIStmtExecute) [for Statement "BEGIN sys.dbms_registry.set_session_namespace('SERVER'); END;"] at /Apps/oracle/product/12.2.0/sqlpatch/sqlpatch.pm line 1268.
Please refer to MOS Note 1609718.1 and/or the invocation log
/Apps/oracle/cfgtoollogs/sqlpatch/sqlpatch_7694_2021_10_25_16_31_50/sqlpatch_invocation.log
for information on how to resolve the above errors.