Oracle Error ORA-38401: synonym string not allowed

Oracle Error Message

ORA-38401: synonym string not allowed

Reason for the Error

An attempt was made to use a synonym for a data type of an attribute or a table alias.

Solution

Use the object name instead of the synonym.