IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

  • R770 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X"}]

Document Information

Modified date:
28 September 2021