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

IllegalArgumentException when attachment file name contains &



IllegalArgumentException occurs when the attachment file name contains a special character (&). This occurs when using the Select Files option to attach the file.

Error Messages

** Java Exception: java.lang.IllegalArgumentException: Trying to set a parameter with invalid name " SMA landing pages - Copy.docx;"

Steps to Reproduce

  1. Log in to Pega 7.1.8.
  2. Open any Work Object.
  3. Click the Add button to attach a file.
  4. Click the Select File button instead of the Drag and Drop option.
  5. Select a file with the special character '&' (ampersand) in the file name.

Root Cause

A defect in Pegasystems’ code or rules.


Apply HFix-28049.

Published March 29, 2018 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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