"Entry missing or Inaccessible" during the migration


I’m running a few scripts to migrate content and some references are getting the “entry missing or inaccessible”. I could fix manually that entry and solve the issues before run the migration but the problem is that we have more than 80k entries, so it will be impossible.

As our application is kinda complex, we have more than 50 scripts to migrate content and we want to do the whole process automatically, and here is the problem where if one script fails, all the other scripts will be cancelled and the whole process will break;

So, Is there any way that we can remove the “entry missing” from the parent before run the migration scripts avoiding that the whole group of script fails?

Thanks in advance for your attention.