Oracle Error ORA-39004: invalid state

Oracle Error Message

ORA-39004: invalid state

Reason for the Error

The state of the job precludes the execution of the API.

Solution

Rerun the job to specify the API when the job is an appropriate state.