Flow Error: STRING_TOO_LONG
|Knowledge Article Number||000204998|
|Description||When running a Flow an unhandled exception may occur that looks like the following:
UPSERT --- UPSERT FAILED --- ERRORS : (STRING_TOO_LONG) [field name]: data value too large: [field value] (max length=[field size]) --- for SFDC record with ID : null,
|Resolution||Above error occurs in following scenarios:
1. If any field on the affected object contains a default value that exceeds the field size limit.
Note: Affected fields may or may not be part of Flows. Even, the soft-deleted fields count.
2. During the Record Create in Flow, a value is mapped to a field and the value exceeds the field size limit.
To resolve this, either correct the limits or remove the fields completely.