Skip to main content
Nintex Community Menu Bar

Error "Invalid data has been used to update the list item. The field you are trying to update may be read only."

  • March 26, 2021
  • 0 replies
  • 428 views

butlerj
Nintex Employee
Forum|alt.badge.img+20
ISSUE
When using the Create Item action to create a Document Set with a people picker field, the following error might occur:

Failed to create item. Invalid data has been used to update the list item. The field you are trying to update may be read only. 
ERROR CODE
RESOLUTION
  1. Create a single line of text variable named txtUserName.
  2. Add a Regular Expression action to replace i:0#.w[|] from the user with nothing and store in txtUserName.
  3. Use a build string action to add -1;# to the beginning of txtUserName and store in txtUserName.
  4. Log the variable to ensure formatting is correct.
  5. Assign txtUserName to the people field when creating the document set.
ADDITIONAL INFORMATION
RELATED LINKS