String Too Long
STRING_TOO_LONG
This error occurs when trying to save a text value that exceeds the maximum length allowed for the field.
Common Causes
- •Text value exceeds field length limit
- •Long text area field exceeded character limit
- •Rich text field content too long
- •API payload too large
Traditional Troubleshooting
1
Check the field's maximum length
2
Truncate the value to fit the limit
3
Use a Long Text Area field if needed
4
Split content across multiple fields
5
Review field length requirements
Solve with Clientell
Instead of manually troubleshooting, use Clientell to instantly identify and fix this error:
Error 'STRING_TOO_LONG' when saving Contact. Identify which field exceeds its length limit and by how much.Related Errors
Related How-To Guides
Related Use Cases
Debug a Salesforce Error
Paste an error. Get the root cause in seconds.
“Apex error ‘FIELD_CUSTOM_VALIDATION_EXCEPTION’ on saving Opportunity — identify which validation rule fired and why.”