Support Article
Unable to read an incoming multipart response
SA-67307
Summary
Unable to read an incoming multipart response.
Error Messages
Not Applicable
Steps to Reproduce
Unknown
Root Cause
This behavior is as per Pega product design.
Resolution
Here’s the explanation for the reported behavior:
To map the multipart response to pyAttachmentPage, configure the response in the activity which invokes the REST connector.
For example, consider the below activity,


- Clear any existing information on pyRequestAttachmentPage.
Set Method to Page-Remove
- Create a new pyRequestAttachmentPage.
Configure When to Page-New
- Create the new AttachmentFile page.
- Set property names to map the incoming multipart response to Pega properties. The values vary depending on the EndPoint format.
- This is the first instance of the pyRequestAttachmentPage. Use this instance to set the first part (text). The values depend on the service.
- This is the second instance of the pyRequestAttachmentPage. Use this instance to set the second part (binary). The value for the pyAttachTypes(2) depends on the service.
- Call the REST connector.
Published March 23, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.