IBM Support

IC78474: JSON ALLOWS UNESCAPED "&" VALUE BUT DATAPOWER REJECTS IT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you send a JSON file to DataPower which includes a special
    character such as an ampersand, DataPower rejects it with the
    error message "implied
    action convert-http: 'Converting INPUT with map (none) results
    stored in
    __JSONASJSONX' failed: Unable to parse JSON and generate JSONx:
    illegal
    character ' ' at offset" ...
    
    However, characters such as ampersand are not excluded from
    JSON content
    

Local fix

  • Use escaped versions of special characters in JSON input
    

Problem summary

  • Customers using services processing JSON message format will no
    longer get
    service failure and 'Invalid JSON format' error logged for valid
    JSON messages containing & or < characters in names or string
    values.
    

Problem conclusion

  • Fix is available in 3.8.2.8, 4.0.1.5 and 4.0.2.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC78474

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    382

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-02

  • Closed date

    2011-11-08

  • Last modified date

    2011-11-28

  • 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

  • R382 PSN

       UP

  • R401 PSN

       UP

  • R402 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.8.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 February 2022