Troubleshooting
Problem
The Trace tab in API Manager is not showing up for a specific API, but works fine for other APIs.

Cause
The issue seems to be due to a CORS misconfiguration.
Specifically, the expose-headers.predefined setting is set to false,
Environment
The Trace tab in API Manager relies on specific headers (e.g., X-Global-Transaction-ID, X-Correlation-ID, etc.) being exposed in the response.
When expose-headers.predefined is set to false, these headers are not included in the CORS response, even if backend: true is enabled.
As a result, the API Manager UI cannot detect or display the Trace tab for that API.
Diagnosing The Problem
For comparison, here is the relevant CORS configuration when Trace Tab is visible
cors:
enabled: true
policy:
- allow-credentials: true
allow-origin:
- https://example1.apim.mgmt.apic.castle.com
expose-headers:
predefined: true
backend: true
And here is the configuration for when Trace Tab is NOT visible
cors:
enabled: true
policy:
- allow-credentials: true
allow-origin:
- https://example1.apim.mgmt.apic.castle.com
expose-headers:
predefined: false
backend: true
Resolving The Problem
Update the CORS configuration for the API to include predefined: true under expose-headers
Steps to Apply the Fix
- Log in to API Manager.
- Navigate to the respective API.
- Click on the Gateway tab.
- In the left-hand menu, select CORS.
- Under Allowed Origins, click the three dots next to the relevant hostname.
- Click Edit.
- Check the Predefined option under Expose Headers.
- Click Save.

Related Information
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8mKe000000CaZXIA0","label":"API Connect-\u003EAPIC Platform - Other"}],"ARM Case Number":"TS019563075","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.5"}]
Was this topic helpful?
Document Information
Modified date:
23 July 2025
UID
ibm17240163