When running a Salesforce Flow, an unhandled fault may occur that shows the following error:UPSERT FAILED — ERRORS: (STRING_TOO_LONG) [field name]: data value too large: [field value] (max length=[field size])
This error indicates that a text value being written to a Salesforce field exceeds the maximum character length configured for that field.
If any field on the affected object contains a default value that exceeds the field's character size limit, the Flow UPSERT will fail. Note the following:
During a Record Create step in the Flow, if a value is explicitly mapped to a field and that value's character length exceeds the field's defined size, the UPSERT operation fails.
To resolve this, either correct the limits or remove the fields completely.
000386497

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.