IBM Support

LI79373: HTTP 500 ERROR WHEN CALLING A REST API WITH A JSON INPUT STRING THAT CONTAINS A '<' CHARACTER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When calling the REST API in APIc v5040 and above, JSON input
    string that contains a "<" or "\u003c" will cause the Gateway
    to throw a http 500 error.
    {
    "httpCode": "500",
    "httpMessage": "Internal Server Error",
    "moreInformation": "Unable to parse the input data as XML:
    illegal
    character '<' at offset 1274 of the XML.parse() parameter."
    }
    

Local fix

Problem summary

  • Some XML characters were not properly escaped during the mapping
    process.
    

Problem conclusion

Temporary fix

Comments

  • This issue will be fixed in the next refresh pack of IBM API
    Connect V5.0.  At the time of writing, the current level is
    V5.0.5.0
    

APAR Information

  • APAR number

    LI79373

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    504

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-17

  • Closed date

    2016-12-15

  • Last modified date

    2016-12-15

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

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

Fix information

Applicable component levels

  • R504 PSY

       UP

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

Document Information

Modified date:
29 September 2021