Message Oracle ORA-39783 - Invalid direct path transaction active

ERRORInvalid direct path transaction active
CAUSEDirect path operations were not performed in the transaction started by the first OCIDirPathPrepare call.
ACTIONEnsure the correct transaction is active prior to calling Direct Path API operations.