Oracle Solution for Error ora-29970

Solution for Oracle Error ORA-29970

ORA-29970: Specified registration id does not exist

What triggered the Error:

An incorrect regid value was passed to dbms_chnf procedure.

What should we do to fix it:

pass the correct regid value.