Oracle Error ORA-28583: remote references are not permitted during agent callbacks

Oracle Error Message

ORA-28583: remote references are not permitted during agent callbacks

Reason for the Error

A Heterogeous Services agent issued a callback to the Oracle server which attemted to to access a remote system. This is not supported.

Solution

Make sure that SQL code issued by Heterogeneous Services agents does not reference a database link.