Error:
A text field contains invalid data. Please check the value and try again.
I was facing this issue when I used “Log to History List” action in my SPD workflow. I was trying to log the dictionary variable value returned from HTTP Web Service and I was getting this error. This issue occurs when you try to log data which is having more than 255 characters. To overcome this issue avoid logging data which is having more than 255 characters.

Bhavesh PatelPosted Aug 26, 2020, 11:23 AM
Thank you Vijai :)
Vamsi GaddePosted Dec 13, 2018, 8:19 AM
Thanks Vijai, It helped me :)
Ulhas MorbalePosted Aug 8, 2017, 6:17 AM
This resolution helped, thanks for sharing.