Hello @k10shetty1,
Very sorry for the delay. So, I found a solution to solve my problem. It is not the most clever one, but it was enough to do what I wanted. Since my error occurs in a random way from python nodes, I make some try catch loops. Thus, if the error occurs, then we repeat from last iteration starting from try node. Usually, it works the next time. I’ve been inspired by some sources that helped me:
try_catch_with_loops – KNIME Community Hub
Catch an error in an optimization loop and continue (Forum 38402) – KNIME Community Hub
This is the workflow I used with the try catch nodes with all files needed to run it. I use Bayesian Optimization for this one.
Debugging.knar (1.7 MB)
Thank you very much for your help
Best,
Guillaume