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

Exception occurs while mapping a response in Connect REST

SA-96457

Summary



Error occurs while executing a Connect REST through a data page or activity. When the same datapage or activity is executed thrice, it works correctly, from the 4th time it is throwing exception.


Error Messages



Exception occurred while mapping incoming response .response_POST


Steps to Reproduce

  1. Create a data page and invoke the REST.
  2. Map the Request and Response.
  3. Execute the data page continuously. Error occurs on executing the data page the fourth time.


Root Cause



The Content type is sent as a mulitpart since a pyRequestAttachmentPage is found in the context.


Resolution



As a local-change, remove the pyRequestAttachmentPage.
Suggest Edit

Published December 18, 2019 - Updated December 2, 2021

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