catch errors in translate_action and process_data