For table formats other than databases, such as csv or Excel, it is possible for fields/columns to not have names and the tool can run until a field name is not found in the Pandas dataframe.
Add code in the tool validation class to check first for all required fields.