Invalid directive found in batch script

I have followed the VFVS tutorial precisely and prepared all the files and folders as per the tutorial. But I am facing the error
sbatch: error: Invalid directive found in batch script: be
Error was trapped which is a nonstandard error.
Error was trapped which is a nonstandard error.
Error in bash script submit.sh
Error in bash script submit.sh
Error on line 68
Error on line 68

I can’t understand the problem exactly. Need help to solve this error

Hi NAGASUNDARAM and welcome to the forum,

Can you please indicate the exact link to the tutorial you are following?

Just as a general suggestion, please be very careful when editing the all.ctrl file (be esp mindfully of spaces and letters that might have been added/erased by mistake).

It would be also very useful to see the logs that were generated.

Kind regards,

Sorin