Sharepoint 2019 Subscription Edition - Error - The list item cannot be added because the field length is too long

Jimmy 0 Reputation points
2025-01-13T19:41:59.9+00:00

Hi,

when I try to use Export-SPWeb to export files from my Sharepoint site that I have created and then I try to import it to another site, I get error

[List Item] [Document_Name.xlsx or docx] [Document_Name.xlsx or docx V1.0_Date] [GUID] [Error]

The list item cannot be added because the field length is too long. Shorten new entries or remove some fields from this list [8863] [8863] error in SharePoint

error codes also for some others are 8863, 8864, 8762

any idea how I can investigate what can be the problem?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,053 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 37,626 Reputation points Microsoft Vendor
    2025-01-14T06:48:07.5266667+00:00

    Hi @Jimmy,

    When SharePoint constructs the list forms, all the fields available for the list item are retrieved from the database. Lists with a large number of Lookup columns might result in complex and potentially intensive SQL Server statements. SharePoint will verify the length of the full SQL Server statement and will display this error message when the maximum allowed length was exceeded:

    "The list item could not be displayed/added because the length of the fields was too long. Please shorten the new entries or remove some fields from this list."

    To address this issue please reduce the number of columns of the specific list.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.