def _invalid_field(self, field):
        msg = AvalaraException.CODE_INVALID_FIELD, field % '%s is not a valid field'
        self.logger.warning(msg)  # development environments will have a test failure when logs don't match expected outcomes
        if not self.allow_new_fields:
            raise AvalaraException(msg)  # incoming data from avalara allows new fields, so as to not break if they ship an update without incrementing API versions
dataset/ETHPy150Open activefrequency/pyavatax/pyavatax/base.py/AvalaraBase._invalid_field/swapped operands of `%`