I tried to execute some code in a sandbox and I got an odd error message:
System.UnexpectedException: Invalid parameter value '****' for parameter "Decryption Exception".
Looks like it happened immediately following a callout attempt...
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityTurns out the callout was using a Named Credential with "Named Principle - Password Authentication". I guess when SF created the sandbox it doesn't properly copy over the password.
I updated the password and now it works...