web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Generic SQL error-Whil...
Power Apps
Unanswered

Generic SQL error-While trying to patch data ( Text field ) in Dataverse

(0) ShareShare
ReportReport
Posted on by 47

omkarb26011_0-1655740019793.png

Hi All,

Getting the above error while trying to patch data on a Text Data field type column (Multiline Text).

 

Thanks 

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @omkarb26011,

     

    According to SQL Server documentation, error code 1946 states:

    Operation failed. The index entry of length %d bytes for the index '%.*ls' exceeds the maximum length of %d bytes. 

     

    Seems to indicate an issue with the index on the column. Have you by any chance defined an Alternate Key that uses your multiline text column, or do you have Dataverse search enabled for the column? If so, what is the maximum length defined for your multiline text? I believe there is a maximum size for non-clustered index values in SQL Server which is 1700. 

     

    If you do have a Key defined for the column or enabled Dataverse search for the column, I would try removing it and see if that fixes the issue.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • omkarb26011 Profile Picture
    47 on at

    Hi @ChrisPiasecki ,

    I have Dataverse search enabled but that column in not searchable (was searchable earlier).

    I have also removed the Dataverse table from the Dataverse Search index.

    I have no key defined for that column

    Still getting the same issue

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 840 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 275

Last 30 days Overall leaderboard