Description
An invalid role name was specified for the Role associated with either the primary_reference_data or alternatename_tables values in the field_mapping parameter in a Python script. The error can also occur if the failed Python run of the Create Locator tool is run from the History pane.
Solution
Specify one of the supported primary_reference_data roles or alternatename_tables roles in field_mapping, and rerun the script.