English

Error: ERROR 000356: Invalid domain type

Error Message

In ArcGIS Pro, it is possible to create and assign a domain to a field from the Fields view. After creating a domain in the Fields view, the new domain is automatically selected, and attempts to save further edits fail. The following error message is returned:

Error:   
ERROR 000356: Invalid domain type.
Error message.

In this example, after creating the Manager field and the Manager_Names domain in the Fields view, the domain is automatically selected for the field, but attempting to save the table fails. Hovering the cursor over the red box to the left of the field's Visible column check box displays the error message, as shown in the image below.

Fields view window displaying the map and table.

Cause

This issue occurs if the data type of the domain and the field is not the same. The image below shows the Manager_Names domain has a long integer data type.

The Domains view showing the Manager_Names domain has a long integer data type.

Solution or Workaround

To resolve the issue, use the workflow below to create and assign a new domain with a data type that matches the field.

  1. In ArcGIS Pro, in the Fields view, navigate to the field. Refer to ArcGIS Pro: Open the Fields view for more information on opening the Fields view.
  2. In the Domain column of the field, click the drop-down arrow, and select <Add New Domain>.
The Fields view displaying the Domain column in ArcGIS Pro.
Note:
The options listed in the drop-down menu for creating a new domain vary depending on the field’s data type.
  1. In the Domains view, enter a domain name, and select the field type to match the field’s data type. In this example, the Manager_Names2 domain is created with a text data type.
The Domains view displaying the Manager_Names2 domain.
  1. Specify the Split Policy and Merge Policy or leave them set as default.
  2. Click Save to save the edits, and click the Close icon The Close icon to close the Domains view. in the Domains view.
  3. In the Fields view, if necessary, assign the domain to the field, and click Save. In this example, the Manager_Names2 domain is assigned to the Manager field, and the edits are successfully saved.
The Fields view displaying the Manager_Names2 domain successfully assigned to the Manager field in ArcGIS Pro.

Related Information

Last Published: 4/20/2021

Article ID: 000025235

Software: ArcGIS Pro 2.7.3, 2.7.2, 2.7.1, 2.7, 2.6.5, 2.6.4, 2.6.3, 2.6.2, 2.6.1, 2.6, 2.5.2, 2.5.1, 2.5