Outbound Response Handling
This topic covers response handling measures that are in place for outbound requests.
Outbound Request Timeout Response
To prevent outbound requests consuming HTTP connections for a prolonged period of time, outbound requests are limited to 5 seconds of execution time, which includes the time to make the connection and the time the remote system completes its response to SAP Commerce Cloud. If the request does not complete within 5 seconds, it's aborted and the request results in a timeout error. You can view information related to the timeout error under Outbound Monitoring in the Backoffice Integration UI Tool. The following error message is displayed: "Request timed out after 5000 ms".
For webhooks, if the request times out, it isn't retried.
For outbound sync, the number of retry attempts depends on the number specified for the outboundsync.max.retries property.
Outbound Response Body Size
For both performance and security reasons, an outbound response body is limited to 1024 bytes. If the response body is too big, it can cause slow response processing and a potential security threat in the form of out-of-memory errors. If the response body is larger than the maximum allowed value it isn't read in-memory, and the OutboundRequest.error produces the following message: "The error response message exceeded the allowed size."
Outbound Error Messages
If the error is returned in an unexpected format, you'll see the message "Please see the log for details."