Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

URL obfuscation with non-ascii characters in return stream



When submitting a request which returns a URL with non-ASCII characters, if URL obfuscation is enabled, the encryption process fails due to incorrect byte array length.

Error Messages

On Screen Error:
Status fail
Message There has been an issue; please consult your system administrator
Operator ID BPMSAdmin2
Requestor ID HEE185566B1944D134EA3EBC423D32827

Log Error:
Caused by: 
javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes 
at Source) 
at Source) 
at Source) 
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.pega.pegarules.exec.internal.util.crypto.PRCipherBase.encrypt( 

Steps to Reproduce

  1. Turn on URL encryption.
  2. Create a work object and perform an action on the work object which will return a URL containing non-ASCII characters.
  3. Observe the onscreen and log errors.

Root Cause

A defect in Pegasystems’ code or rules.


Apply HFix-30629.
Suggest Edit

Published December 14, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us