Error Message: Invalid attempt. Encrypted data could not be saved

AwanishK
Tera Contributor

Hi community. While submitting some of record producers, I am getting this error message: 'Invalid attempt. Encrypted data could not be saved.' Now this is due to some masked fields which we have added in producer as per request from client. I also tested by not filling any of the masked variables and I was able to submit a request.

Need some support on what the issue for the error could be.

5 REPLIES 5

kaushal_snow
Giga Sage

@AwanishK ,

 

Might be because the field in question is using column level encryption and the submitting user doesn’t have the encryption context role required to write (and therefore read) that encrypted field, or you’ve got a variable on your record producer with the same name as an encrypted text field which causes the encryption context logic to fail and throw that error.......

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Technical Consultant - ServiceNow Class of Legends 2025 