z/OS Connect Enterprise Edition

z/OS Connect

z/OS Connect

Truly RESTful APIs to and from your IBM Z mainframe

 View Only
Expand all | Collapse all

ZOSConnect EE throws error BAQR1138E: An error occurred during the data transformation for API requester.

  • 1.  ZOSConnect EE throws error BAQR1138E: An error occurred during the data transformation for API requester.

    Posted Mon September 11, 2023 10:44 AM

    Hi All,

    I am working on POC, where ZOS CICS application acts as an API Requester and ZOSConnect EE is host end Point API service provider. CICS application communicates via BAQCSTUB Program.

    Swagger document created through build tool kit and attached generated API information, Request and Response files.

    ZOSCSRV - STDERR :

    BAQR1138E: An error occurred during the data transformation for API requester srjcicsclaimapi_1.0. The operation is GET /srjcicsclaimapi/claims/00000001.

    Error: DFHPI1007 JSON to data transformation failed because of incorrect input (UNDEFINED_ELEMENT SrjClaimServiceOperationResponse).

    due to the above error getting response from the STUB Program as shown below.

    BAQ-RETURN-CODE : 0000000002                                             
    BAQ-STATUS-CODE : 0000000500                                             
    BAQ-STATUS-MESSAGE : {"errorMessage":"BAQR1143E: Internal server error."}

    Thanks

    Mahesh.



    ------------------------------
    MaheshBabu Eiruvuri
    ------------------------------


  • 2.  RE: ZOSConnect EE throws error BAQR1138E: An error occurred during the data transformation for API requester.

    Posted Tue September 12, 2023 01:13 AM

    Missed to add attachments.



    ------------------------------
    MaheshBabu Eiruvuri
    ------------------------------



  • 3.  RE: ZOSConnect EE throws error BAQR1138E: An error occurred during the data transformation for API requester.

    Posted Wed September 13, 2023 10:14 AM

    Mahesh,
    From the error it looks like data transformation issue. The UNDEFINED_ELEMENT 'SrjClaimServiceOperationResponse' is not found any of the attachments. 
    Does the API specification file updated in endpoint after building the API requester archive file?
    After building the API requester archive file, if the API specification updates then you can see similar data transformation issues as there is a mismatch of fields. 
    Can you rebuild the API request archive file using the latest API specification file and deploy the same in z/OS Connect server and rebuild the CICS application using the generated language artifacts and verify the behavior. 

    Thanks,
    Nagesh



    ------------------------------
    NAGESWARARAO GOKAVARAPU
    ------------------------------



  • 4.  RE: ZOSConnect EE throws error BAQR1138E: An error occurred during the data transformation for API requester.

    Posted Thu September 14, 2023 04:41 AM

    Thank you Nageswararao, Will check your inputs and get back if needed anything.



    ------------------------------
    MaheshBabu Eiruvuri
    ------------------------------