API Connect

 View Only

 APIC Invoke Policy Timeout of 5 Seconds Not Consistently Enforced

Mithun Bhoomireddy's profile image
Mithun Bhoomireddy posted 09/18/26 09:39 AM

Hi Team,

I have configured a 5-second timeout in the APIC Invoke policy for a backend service. However, I am observing inconsistent timeout behavior.

My Invoke policy configuration is:

- invoke:
    title: invoke Backend
    version: 2.0.0
    verb: POST
    target-url: $(url)
    follow-redirects: false
    timeout: 5
    parameter-control:
      type: allowlist
      values: []
    header-control:
      type: blocklist
      values: []
    inject-proxy-headers: true
    persistent-connection: true
    chunked-uploads: true
    backend-type: xml
    cache-response: no-cache
    stop-on-error:
      - ConnectionError

When the backend response takes more than 5 seconds:

  • In some cases, APIC correctly terminates/rejects the request after the timeout.
  • In other cases, the request continues beyond 5 seconds and eventually receives the backend response.

Could someone please clarify under what conditions the Invoke timeout: 5 is enforced and why the behavior may differ between requests?

I have attached the policy configuration, screenshots, and relevant request/response details for reference.

Thanks in advance for your help.
Mithun

Attachment  View in library
1000168405.jpg 1.25 MB