Oracle Error ORA-31066: Insertion of string into string creates a cycle

Oracle Error Message

ORA-31066: Insertion of string into string creates a cycle

Reason for the Error

An attempt was made to insert a link into the XDB hierarchy that would create a cycle in the tree.

Solution

Ensure that links to existing resources do not cause cycles.