Loading

'STRING_TOO_LONG' error in Flow

게시 일자: Jan 17, 2026
상세 설명

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, 
솔루션

Above error occurs in the following scenarios:
 

1.  If any field on the affected object contains a default value that exceeds the field size limit.  
NOTE:
a.Affected fields may or may not be part of Flows. Even, the soft-deleted fields count.
b. Salesforce counts all underlying special characters, line breaks, and hidden formatting characters used in the text toward the total character limit of the database field, pushing the total length over the limit before the visible text does.
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.  

Knowledge 기사 번호

000386497

 
로드 중
Salesforce Help | Article