IBM Support

IT30869: DATAPOWER MAY RETURN "INVALID JSON" IN RESPONSE DUE TO ADDING A COMMA.

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

  • When submitting a request, DataPower returns a response
    including invalid JSON. DataPower may return an additional
    comma (,) at the end of the JSON response, which does not
    belong.
    

Local fix

  • If the response returned ends with an extra (,) simply
    remove/strip comma to be valid JSON format
    

Problem summary

  • Under some return types, Complex object structures returned from
    RMI may produce invalid JSON buy appending an extra "," at the
    end of the resulting object array.
    

Problem conclusion

  • Pre determine the final object type in the return JSON and
    prevent appending the "," if the object is the final object of
    that type.
    
    Fixed in: 2018.4.1.9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30869

  • 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-11-06

  • Closed date

    2019-12-09

  • Last modified date

    2019-12-09

  • 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 #: IT30869

Modified date: 09 December 2019