Copy document step: error message appears about maximum length

  • 24 February 2022
  • 0 replies
  • 7 views

Userlevel 5
Badge +20
 

Get Documents method is failing. Error message appears: "Identifier is too long. Maximum length is 128 characters"

kbt135074

PRODUCT
K2 blackpearl 4.6.11 to 4.7
TAGS
Service Broker
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

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....

Troubleshooting Steps

To resolve this issue, delete the column and re-create it. The SmartObjects can then be re-generated for the SharePoint library/list.

0 replies

Be the first to reply!

Reply