This SharePoint tutorial, we will discuss how to solve an error Invalid text value. A text field contains invalid data that comes while working with visual studio workflow in SharePoint Online.
Recently while working with a visual studio 2015 workflow for SharePoint online I got the below error. The error comes as:
Suspend this workflow. Activity in progress.
Retrying the last request. Next attempt scheduled in less than one minute. Details of last request: HTTP InternalServerError to HTTP:URL…
Invalid text value.
A text field contains invalid data. Please check the value and try again.
We have developed as a SharePoint hosted add-in for SharePoint online site. In that workflow, I am trying to retrieve the value from multiple lines of textbox through rest API by using httpsend in SharePoint online.
The error looks like below:
In the workflow add-in, we have used HttpSend workflow action to call the rest API. And by using GetDynamicValueProperties I am trying to retrieve the values and assigning to different variables. It looks like below:
Here in the above Template_x0020_HTML is a multiline rich textbox field. The error is coming while retrieving this value.
A text field contains invalid data. Please check the value and try again
The issue usually comes when we are trying to deal with data having more than 255 characters. If the data is less than 255 characters then the error usually does not appear.
If anyone has any solution for this, how to retrieve more than 255 characters kindly share the details.
You may like following visual studio workflow tutorials:
- SharePoint Hosted Add-in: Send Email to SharePoint group using visual studio workflow
- The field of type taxonomyfieldtype cannot be used in the query filter expression in SharePoint Online visual studio workflow
- Cannot cast LValue expression to type Microsoft.Activities.DynamicValue error in visual studio workflow in SharePoint
- Difference between designer workflow and visual studio workflows
- SharePoint Workflow Initiation Form template missing in Visual Studio
- SharePoint Approved and Rejected buttons not appearing in task form in Visual Studio 2015 workflow
- SharePoint online visual studio 2015 workflow variable not available in various scopes
- The ExpressionTranslationBuildTask task failed unexpectedly SharePoint Visual Studio Workflow Error
- Sorry you do not have access to this page while clicking on SharePoint custom workflow visual studio 2015
This SharePoint tutorial helps us to learn how to solve error Invalid text value. A text field contains invalid data.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.