IBM Support

IT29143: CALLS TO AN API OPERATION MIGHT ROUTE TO THE WRONG API WHEN THE OPERATION AND URL PATH ARE NOT UNIQUE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • If an API has the same basepath and path values as one or more
    other APIs, and the paths have the same operation defined, then
    applications that are subscribed to any of those APIs will be
    routed to check for a subscription against the most recently
    published API.
    
    When an application has a subscription for an older API,
    requests can result in response errors like:
    
    {"httpCode":"401","httpMessage":"Unauthorized","moreInformation"
    :"Cannot find valid subscription for the incoming API request."}
    

Local fix

  • To avoid this problem, ensure that the basepath/path/operation
    combinations are unique across the APIs that are published to a
    DataPower API Gateway.
    

Problem summary

  • If an API has the same basepath and path values as one or more
    other APIs, and the paths have the same operation defined, then
    applications that are subscribed to any of those APIs will be
    routed to check for a subscription against the most recently
    published API.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT29143

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-05-15

  • Closed date

    2019-05-23

  • Last modified date

    2019-05-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels



Document information

More support for: IBM DataPower Gateways
General

Software version: 18X

Reference #: IT29143

Modified date: 23 May 2019