Oracle Error QSM-00786: the name string is invalid for directive string

Oracle Error Message

QSM-00786: the name string is invalid for directive string

Reason for the Error

The user attempted to add a directive that contains an empty or invalid object name.

Solution

Correct the name and retry the operation.