Oracle Error PLS-00146: duplicate external TRUSTED/UNTRUSTED specification in subprogram expression

Oracle Error Message

PLS-00146: duplicate external TRUSTED/UNTRUSTED specification in subprogram expression

Reason for the Error

The subprogram was found to have two external TRUSTED/UNTRUSTED specifications.

Solution

Remove one of the external external TRUSTED/UNTRUSTED specifications.