An invalid character, such as a space or leading number, exists in one or more of the following field names in the field_mapping, alternate_field_mapping, or custom_output_fields parameters of the Create Locator tool:
- Locator role field name
- Primary data field name
- Locator role alternate field name
- Alternate data table field name
Review the locator role and data field names in the script and adhere to the following conventions:
- Use only characters a-z, 0-9, and underscores for field names.
- Do not use spaces, hyphens, parentheses, brackets, and other special characters, such as $, %, and #.