From eabcf77600783fdc38851d5bcce486ea9fbb296a Mon Sep 17 00:00:00 2001 From: aschroed Date: Fri, 31 May 2024 13:35:12 -0400 Subject: [PATCH] update to validation error reporting to deal with item type included in error response --- wranglertools/import_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wranglertools/import_data.py b/wranglertools/import_data.py index 7eaaae51..a92e8b95 100755 --- a/wranglertools/import_data.py +++ b/wranglertools/import_data.py @@ -798,6 +798,7 @@ def error_report(error_dic, sheet, all_aliases, connection, error_id=''): elif error_description.endswith(nf_txt): alias_bit = error_description.replace(nf_txt, '').replace("'", '') if alias_bit: + alias_bit = alias_bit.split('/')[-1] not_found = alias_bit.strip() # ignore ones about existing aliases if not_found and not_found in all_aliases: