Support Article
InboundMappingException: Could not write response entitiy to out
SA-31654
Summary
User is trying to get data from a webservice based on ID.
User is getting Connect rest Inbound Mapping Exception whenever there is a huge data in filings.
Error Messages
2016-12-15 02:58:20,122 [ PegaRULES-Batch-3] [ STANDARD] [ ] [ SWZ:01.01.01] ( internal.mgmt.Executable) ERROR - Exception
com.pega.pegarules.pub.services.InboundMappingException: Could not write response entitiy to output stream
at com.pega.pegarules.integration.engine.internal.connect.http.HTTPClient.getResponseData(HTTPClient.java:958)
at com.pega.pegarules.integration.engine.internal.util.PRServiceUtils.getResponseData(PRServiceUtils.java:3170)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.step5_circum0(ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.java:1399)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.perform(ra_action_pyinvokerestconnector_28ccb2185309b8c9c6d59a05ed51acae.java:137)
Steps to Reproduce
Use connect Rest to fetch the data.
When ever there is a huge data the user is getting read timed out error.
Root Cause
Connect Rest Time out issue.
Resolution
User is suggested to increase the response time out value based on the business requirement.
Published January 2, 2017 - 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.