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

Getting an error when reading email from the mail box using Conn



If the response from Connect-REST which is using a  external service includes documents in binary stream and if this binary stream is attached to the work object, the data is getting corrupted and the user is unable to view this document when it opens.

Error Messages

Not Applicable.


Create a Connec-REST that gets the response as word document in the form of binary stream write the response  to a clipboard.
2.Read the stream from clipboard and attach it to work object.
3.Open the Word Document  that is attached to the Work object and observe that it is corrupted.


Root Cause

A defect in Pegasystems’ code or rules.
The byte stream we are getting response from the Connect-REST is getting converted to a string before it is getting attached to the clipboard 


22778  resolves the issue.


Published October 19, 2015 - 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