Oracle Error ORA-46017: The OBJECT_ID is not valid.

Oracle Error Message

ORA-46017: The OBJECT_ID is not valid.

Reason for the Error

The PL/SQL API DBMS_XDSUTL.INVALIDATE_DSD_CACHE was called with an invalid OBJECT_ID.

Solution

Change the length of the OBJECT_ID passed into the PL/SQL API DBMS_XDSUTL.INVALIDATE_DSD_CACHE to 32, and ensure that its value matches exactly with the XMLRef object identifier of an existing DataSecurity document within the XDB repository.