Hi everyone,
I found the problem.
The error message helped me to review the code and see where the process was stopping. It was failing on the execute_precheck function in the class restore_controller. The function checks/validates the source course before restoring. For some reason my source course had issues. To resolve it I created a blank course and import from the course with issues all the activities I wanted to be restored on the bulk course creation. So creating a blank course with the activities through the import gave me a good course to use to restore and create the other ones. Basically the issue was on the course that I was trying to restore from.
Erika