Oracle Error ORA-37170: (XSOBJORG_NA) The top-level object name argument to the OBJORG function cannot be NA.

Oracle Error Message

ORA-37170: (XSOBJORG_NA) The top-level object name argument to the OBJORG function cannot be NA.

Reason for the Error

You passed NA as the second argument to the OBJORG function.

Solution

Pass the name of the top-level object instead.