ORA-49042
PATH_NAME can only be used in combination with ONE ROW PER VERTEX or STEP.
Cause
PATH_NAME is being used without ONE ROW PER VERTEX or STEP.
Action
Either add ONE ROW PER VERTEX or STEP or remove the PATH_NAME reference.