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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard