Oracle Error ORA-21700: object does not exist or is marked for delete

Oracle Error Message

ORA-21700: object does not exist or is marked for delete

Reason for the Error

User attempted to perform an inappropriate operation to an object that is non-existent or marked for delete. Operations such as pinning, deleting and updating cannot be applied to an object that is non-existent or marked for delete.

Solution

User needs to re-initialize the reference to reference an existent object or the user needs to unmark the object.