Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

FLOW ERROR - unable to Update file properties in document lirary

While updating a Document Library , I am facing a issue  and receive below error .


"status": 400,
"message": "Invalid text value. A text field contains invalid data. Please check the value and try again. nclientRequestId: 4d830b72-1788-489d-b2eb-46dec268221a\r\nserviceRequestId: 4d830b72-1788-489d-b2eb-46dec268221a"



I am updating three columns of a Library - all are of "Single Line of Text".


Below are the screenshots.



Replace have : replace(body('FlowStep1')['Title'],'-','') , replace(body('FlowStep1')['column2'],'-','') , replace(body('column3')['Title'],'-','')




Community Champion
Community Champion

Hi @KBdotnet 

Can you check the run history and review the information passed into the action?

From that you should be able to see the invalid data.







If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up


Hi @KBdotnet 


You can also check the length of the strings that are being passed. Single line of text columns in SharePoint have a hard limit of 255 characters only and you might see that errors due to more characters in the string as well. 


Hope this Helps!


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,994)