#49 handle negative errors from the handler in copy_data_between_tables