function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sumit dsumit d 

Error: Unable to access Page while creating or updating user record

Hi All,
I am updating a user record by changing role of user, while changing role of user I ma getting Error:- The value of a parameter contains a character that is not allowed or the value exceeds the maximum allowed length. Remove the character from the parameter value or reduce the value length and resubmit.
  this error is only coming while i am changing only role, if i change anything else in user record, It gets saved but while updating role its giving me this error. I have tried inactive trigger/Flow etc on user record but i am still getting this error.
Can anyone help me with this?
Thanks in advance
Best Answer chosen by sumit d
sumit dsumit d
It was Due to Flow on user object.