IBM Support

IT33845: CONTENT-TYPE HEADER SET TO UNKNOWN MIGHT CAUSE ISSUES WITH INVOKE POLICY TARGET SERVERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If an API contains a GatewayScript policy that executes an
    apim.setvariable function call that manipulates message.body,
    the Content-Type header is set to unknown. This might cause
    issues with invoke policy target servers, or the API client.
    

Local fix

  • To resolve this problem, you must immediately follow the
    apim.setvariable function call with an apim.output function
    call that specifies the content type of the payload that was
    written to message.body by apim.setvariable.
    

Problem summary

  • Do not overwrite the content-type header when setting the
    message.body
    

Problem conclusion

  • The fix is in 2018.4.1.13 and 10.0.1.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT33845

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-07

  • Closed date

    2020-11-06

  • Last modified date

    2020-11-06

  • 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

  • R18X PSY

       UP

  • RA0X 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