Oracle Error PLS-00171: duplicate dedicated AGENT specification in subprogram expression

Oracle Error Message

PLS-00171: duplicate dedicated AGENT specification in subprogram expression

Reason for the Error

The subprogram was found to have two dedicated AGENT specifications.

Solution

Remove one of the dedicated AGENT specifications.