CSV - Error managing

set the but disable or enable + redirect if an error is detected