error handle for get_harvest_source_type