Since I have enabled state and country picklist I get the following error:
Update failed. First exception on row 0 with id 0013O00000rrYAFQA2; first error: FIELD_INTEGRITY_EXCEPTION, There's a problem with this country, even though it may appear correct. Please select a country/territory from the list of valid countries.: Shipping Country: [ShippingCountry]Class.
I am trying to update an account trough the api:
{
"Firstname": "John",
"Lastname": "Cool",
"Street": "Custom Street",
"Housenumber": 1,
"HousenumberAddition": "A",
"Postalcode": "0000AA",
"Newsletter": true,
"City": "city",
"Country": "Nederland",
"Language": "nl-NL"
}
In my State and Country/Territory Picklists I have the following active:
Country/Territory Name :Netherlands
Country/Territory Code :NL
Integration Value :Netherlands
Is there a way I can make the translation Nederland acceptable. I already tried the translation workbench but the did not resolve this
CountryX
on Account that accepts alternate country spellings. Then a before save flow or before trigger coerces the alternate spelling inCountryX
to the defined integration value for theCountry
field