add error message for import_key failure