IBM Support

LI79192: API MANAGEMENT GATEWAY: UNABLE TO EXECUTE A REQUEST TO A CATALOG: 404 URL NOT FOUND ERRORS RETURNED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The Gateway does not correctly handle the management server
    properties that have special XML characters such as an ampersand
    (&) or properties that are missing from the configuration when
    upgrading from a prior release.
    
    The following error is repeated in the log:
    
    1,20160714T175430.661Z,APIMgmt_AE34766E40,apiconnect,error,mpgw,
    webapi-internal,104746189,142241381,<ipAddr>,0x8580005c,,request
    ,"securityProcessor: definition not found:API Key - client
    secret (Query)"
    1,20160714T175430.662Z,APIMgmt_AE34766E40,gatewayscript,error,mp
    gw,webapi-internal,104746189,142241381,<ipAddr>,0x85800007,,requ
    est,"GatewayScript processing Error '(null)
    In file 'local:///isp/request.swagger.js' line:1061,
    stack:TypeError: Cannot read property 'type' of undefined
        at securityProcessor
    (local:///isp/request.swagger.js:1061:12)
        at processSecuritySection
    (local:///isp/request.swagger.js:838:33)
        at generateOpSwitchSecPol
    (local:///isp/request.swagger.js:984:36)
        at translateSwaggerToXML
    (local:///isp/request.swagger.js:136:27)
        at local:///isp/request.swagger.js:58:5
        at Object.<anonymous> (local:///isp/apim.util.js:53:9)'"
    1,20160714T175430.662Z,APIMgmt_AE34766E40,multistep,error,mpgw,w
    ebapi-internal,104746189,142241381,<ipAddr>,0x80c00009,,request,
    "request webapi-internal-swagger-req #2 gatewayscript:
    Transforming the content of NULL. The transformation
    local:///isp/request.swagger.js is applied. The results are
    stored in OUTPUT. failed: Internal Error"
    1,20160714T175430.662Z,APIMgmt_AE34766E40,mpgw,error,mpgw,webapi
    -internal,104746189,142241381,<ipAddr>,0xd30003,,error,"Rejected
     by filter; SOAP fault sent"
    1,20160714T175430.662Z,APIMgmt_AE34766E40,mpgw,warn,stylepolicy,
    webapi-internal,104746189,142241381,<ipAddr>,0x80c0007b,,,"No
    error rule is matched."
    1,20160714T175430.662Z,APIMgmt_AE34766E40,network,error,,,
    142241381,,,0x80e00640,,,"HTTP invalid response returned 500
    Internal Server Error, from URL
    'http://<ipAddr>:<port>/swagger/v1/catalogs/550b405fe4b04900e88e
    f651/apis/569507e6e4b027fe9c99454d' (Method: GET , URI:
    /swagger/v1/catalogs/550b405fe4b04900e88ef651/apis/569507e6e4b02
    7fe9c99454d)"
    1,20160714T175430.662Z,APIMgmt_AE34766E40,network,error,,,142241
    381,,,0x80e00626,,,"Error occurred when connecting to URL
    'http://<ipAddr>:<port>/swagger/v1/catalogs/550b405fe4b04900e88e
    f651/apis/569507e6e4b027fe9c99454d'"
    1,20160714T175430.662Z,APIMgmt_AE34766E40,network,error,xmlmgr,w
    ebapi,142241381,,,0x80e00040,,scheduled,"url-open: Remote error
    on url
    'http://<ipAddr>:<port>/swagger/v1/catalogs/550b405fe4b04900e88e
    f651/apis/569507e6e4b027fe9c99454d'"
    1,20160714T175430.878Z,APIMgmt_AE34766E40,xmlparse,error,xmlmgr,
    webapi,142241381,,,0x80e003aa,,scheduled,"illegal character ' '
    at offset 59260 of
    http://<ipAddr>:<port>/services/v1/catalogs/550b442ce4b04900e88e
    f761"
    1,20160714T175430.878Z,APIMgmt_AE34766E40,network,error,xmlmgr,w
    ebapi,142241381,,,0x80e00041,,scheduled,"url-open: Error parsing
    response from
    'http://<ipAddr>:<port>/services/v1/catalogs/550b442ce4b04900e88
    ef761'"
    1,20160714T175431.102Z,APIMgmt_AE34766E40,xsltmsg,error,mpgw,web
    api,150460657,150460657,<ipAddr>,0x80000001,,request,"apim.appid
    entity: Client id in wrong location"
    1,20160714T175431.102Z,APIMgmt_AE34766E40,xsltmsg,error,mpgw,web
    api,150460657,150460657,<ipAddr>,0x80000001,,request,"HTTP/1.1
    401 Unauthorized: Client id in wrong location."
    

Local fix

  • local fix provided
    

Problem summary

  • Special characters (" ' < > &) needed to be escaped and missing
    properties needed to be handled.
    

Problem conclusion

  • This fix is available in API Connect V5.0.3.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI79192

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    501

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-05

  • Closed date

    2016-08-17

  • Last modified date

    2016-08-17

  • 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

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

  • R501 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"501","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2021