Message Oracle ORA-27363 - invalid program for lightweight job

ERRORinvalid program for lightweight job
CAUSEYou tried to create a lightweight job using an invalid program. A program used in a lightweight job has to be enabled, has to be in the same schema as the job, and the program action has to be either a PL/SQL block or a stored procedure.
ACTIONUse a valid program for the lightweight job.