Skip to Main Content
Integration


This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Submitted
Workspace API Connect
Created by Guest
Created on Apr 29, 2026

Allow mapping of client-side disconnects during response streaming to 4xx status codes (instead of 500)

Problem description:

Currently, in IBM API Connect, if a client application disconnects or times out while the API Gateway is actively streaming a successful backend response (e.g., a 200 OK), the gateway attempts to write to the closed client socket and fails. It then logs the error "Failed to use data streaming to send the response payload" and records the transaction as a 500 Internal Server Error in API Analytics.

The limitation:

Because this disconnection occurs during the direct response writing phase—after the policy execution flow (including post-flow) has finished—there is no policy-level variable, error condition, or context attribute exposed. Consequently, there is no supported way to use GatewayScript, Global Error Policies, or catch blocks to distinguish this specific client-initiated disconnect from a genuine gateway or backend server failure.

Business & operational impact:

Treating client-side disconnects as 500 Internal Server Errors causes significant operational friction:

  • False monitoring alerts: It floods API analytics and dashboards with 500 errors, making healthy APIs appear unstable.

  • Wasted support effort: It triggers critical server-side alerts, forcing support teams to investigate the gateway and backend for infrastructure failures, only to discover the fault lies entirely with the client application.

  • Skewed metrics: It makes it impossible to accurately distinguish between infrastructure health issues and client behavioral issues in our SLAs.

Requested feature:

We request a product enhancement to expose a signal, condition, or native configuration setting that allows the Gateway and Analytics to distinguish a client-initiated disconnect from an actual server-side write failure. Specifically, we need a supported mechanism to categorize these specific socket write errors as client warnings (e.g., mapping them to a 499 Client Closed Request or similar 4xx status code) rather than defaulting to a 500 Internal Server Error.


Attached the simple pictorial representation of the flow for the reference.

Idea priority Low