000307: The input field type does not match the field type of the existing domain.

Description

When a table is converted to a domain with the Table To Domain tool, the table essentially represents a domain. This domain's field type is taken from the table's CODE field. If the target domain name already exists in the target workspace, the CODE field in the input table must match the target domain's field type.

Solution

There are two options:

  • Delete the target domain in the workspace and rerun the Table To Domain tool.
  • Create a new table in which the code field's type matches the domain's field type in the workspace.