App Connect

 View Only

 Error Handling

mahmoud samir's profile image
mahmoud samir posted Sun August 31, 2025 03:59 AM

Hello,
am facing an issue and I need some help with it.
There is a RESTful API designed on IBM App Connect. When I try to send a request to it with the header field "X-Original-HTTP-Command", I immediately get the error shown below.
I would like to handle this error and respond with a specific error message, but the request does not enter the flow. I think this error is being thrown by the integration node. How can I handle it?
"

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>500 Internal Server Error</title>
</head>
<body>
<h1>500 Internal Server Error</h1>
<p>
BIP2330E: Field '&apos;X-Original-HTTP-Command&apos;[0]' within field '&apos;(0x01000000:Name):HTTPInputHeader&apos;' does not exist; diagnostic information '1073741824', '50331648'.
</p>
<hr>
</body>
</html>

Attachment  View in library
image.png 132 KB
Matthias Blomme's profile image
Matthias Blomme IBM Champion

Hi Mahmoud

That is a reserved internal header

https://www.ibm.com/docs/en/app-connect/13.0.x?topic=messages-http-headers

Header
Content
Example
X-Original-HTTP-Command
An expanded version of the original inbound request POST
http://localhost:7800/Wss001/
services/Wss001 HTTP/1.1