IBM Support

PH40653: HTTP status code changes from 400 to 500 when response codes are mapped.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible in next release.

Error description

  • When an IMS service provider API receives data that exceeds the
    field length, the following is reported:
    
    HTTP status code 400
    {    "errorMessage": "GMOSR0013E: An unexpected error occurred
    processing service XXX_svc using trancode ZZZZ.  Originating
    exception message = GMOMW0005E: A data type conversion error
    occurred while the leaf field AAAA.BBBB of service interface
    XXX_svc_Req was converted: IWAA1111E: String
    TRACE12341234354646467567868678768678122334 exceeds maximum
    length of 32.."
    }
    
    When response codes are mapped and the same data are sent, the
    HTTP status code reported is different and the following is
    reported:
    
    
    HTTP status code 500
    {    "errorMessage": "BAQR7033E: Internal server error."
    }
    
    And then following messages are written to the messages.log:
    
    GMOMW0005E: A data type conversion error occurred while the
    leaf field AAAA.BBBB of service interface XXX_svc_Req was
    converted: IWAA1111E: String
    TRACE12341234354646467567868678768678122334 exceeds maximum
    length of 32..
    GMOSR0013E: An unexpected error occurred processing service
    XXX_svc using trancode ZZZZ.  Originating exception message =
    GMOMW0005E: A data type conversion error occurred while the leaf
    field AAAA.BBBB of service interface XXX_svc_Req was converted:
    IWAA1111E: String TRACE12341234354646467567868678768678122334
    exceeds maximum length of 32..
    
    Additional search words: GMOMW0005E msgGMOMW0005E GMOMW0005
    msgGMOMW0005 GMOSR0013E GMOSR0013 msgGMOSR0013E msgGMOSR0013
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the z/OS Connect EE V3.0 IMS    *
    *                 service provider.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: HTTP status code changes from 400 to    *
    *                      500 when response codes are mapped.     *
    ****************************************************************
    When response mappings were present and a HTTP status code was
    returned  for which there was no specific mapping the processing
    of the response resulted in a subsequent error, which caused the
    HTTP status code 500 to be returned.
    

Problem conclusion

Temporary fix

Comments

  • z/OS Connect EE has been changed to prevent the reported
    difference in behavior when a field length is exceeded.
    
    The fix for this APAR is expected to be delivered by the PTF for
    z/OS Connect EE V3.0.61.0 (PH48652).
    

APAR Information

  • APAR number

    PH40653

  • Reported component name

    Z/OS CONNECT EE

  • Reported component ID

    5655CE300

  • Reported release

    000

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-16

  • Closed date

    2022-09-14

  • Last modified date

    2022-09-14

  • 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

    Z/OS CONNECT EE

  • Fixed component ID

    5655CE300

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSVVFY","label":"z\/OS Connect Enterprise Edition"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.0"}]

Document Information

Modified date:
14 September 2022