Oracle Solution for Error ora-29972

Solution for Oracle Error ORA-29972

ORA-29972: user does not have privilege to change/ create registration

What triggered the Error:

User passed in an incorrect or someone else's regid/ handle.

What should we do to fix it:

Check the passed in regid/ reg handle