function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Khalid Abdullah 11Khalid Abdullah 11 

Social Customer Service Attachment Size Too Large

Hello all,
We are running into an issue with our incoming social posts where we occasionally receive messages with the following error: 

Errors:

InboundSocialPostHandlerImpl at line 435, column 1: Insert failed. First exception on row 0; first error: STRING_TOO_LONG, Title: data value too large: {massive URL string here} (max length=255): [Title]
R6PostId ############
Class.Social.InboundSocialPostHandlerImpl.createAttachments: line 435, column 1
Class.Social.InboundSocialPostHandlerImpl.handlePostAttachments: line 422, column 1
Class.Social.InboundSocialPostHandlerImpl.handleInboundSocialPost: line 58, column 1

We are using the default apex code and are reluctant to modify the code since the developer guides do not contain references to these methods. How can we prevent this error from occurring?
Also, what exactly is happening here? The social post is failing to be inserted into our production environment. We're not sure what field/object