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

Error when trying to add an attachment greater than 5 MB



An error occurs when you try to add an attachment greater than 5 MB in size.

Error Messages

SQL error in the log file
SQLState 22001, Error code -302: DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=3.62.56

Steps to Reproduce

  1. Open a work object.
  2. Add an attachment greater than 5 MB.

Root Cause

For DB2, the default size for BLOB columns is 5 MB for all tables, except pr4_rule_file_binary, which is 40 MB. 


If the requirements of a particular application call for more space, perform the following local-change:
ncrease the BLOB size of the pc_data_workattach table.

Published October 4, 2016 - Updated October 8, 2020

Was this useful?

0% 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