Description
A valid country code value was not defined for each feature in the reference data. The Country Code input locator role field only supports three-character country codes, such as USA, CAN, and FRA.
Solution
Review the reference data field assigned to the Country Code input locator role field for the record with the ObjectID or ObjectIDs mentioned in the error message. The value must contain a valid three-character code for the country and must be updated if the value is not a valid code.
Do one of the following to resolve the error:
- If the value for the record is invalid, assign the correct valid three-character country code. A list of supported countries and codes is available in the Supported Country Codes column referenced in the Geocode coverage map. This is the best option if the country is not listed in the Country or Region parameter drop-down list.
- If the value for the record is empty and the reference data covers one of the supported countries of the Create Locator tool, select the correct country from the Country or Region parameter. A country code corresponding to the country name selected is used for the records with empty country code values in the reference data.