Get Documents method is failing. Error message appears: "Identifier is too long. Maximum length is 128 characters"
kbt135074
PRODUCTIssue
After the copy document step (executing Get Documents method) an error message appears about maximum length being too long:
'Identifier.. is too long. Maximum length is 128'
The identifier that starts with ’_x0034__x002d_column_x0020_Name_x0020__x0028_Properties_x002c
__x0020_Pg1_x002c__x0020_ __x0020_docx_x002c__x0020_’ is too long.
Maximum length is 128.
Symptoms
The SharePoint column(s) are created with an internal name containing more than 128 characters. View the internal name for a SharePoint column by browsing to the List Settings > Edit Column and look at the QueryString. This will be url encoded but it is a simple way of retrieving the internal name.
After decoding, the actual field name in this example is "4th Step Review" but it contains extra ASCII characters from when the field was created. This can happen if the field name was copied/pasted from MS Word.
/_layouts/15/start.aspx#/_layouts/15/FldEdit.aspx?List={D1419573-D529-4625-871D-739116826F33}&Field=
_x0025_5Fx0034_x0025_5F_x0025_5Fx002d_x0025_5FStep_x0025_5Fx0020_x0025_5FReview
_x0025_5Fx0020_x0025_5F_x0025_5Fx0028_x0025_5FProperties
_x0025_5Fx002c_x0025_5F_x0025_5Fx0020_x0025_5FPg1_x0025_5Fx002c
_x0025_5F_x0025_5Fx0020_x0025_5Fdates....