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

z/OS Connect BAQCSTUB throws errorMessage":"BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation".

  • 1.  z/OS Connect BAQCSTUB throws errorMessage":"BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation".

    Posted Mon October 09, 2023 04:40 AM

    @Nagesh G

    Hi Nagesh, Thanks for your help on understanding the ZOSCEE, I am able to resolve the error which was facing earlier.

    Unfortunately while making outbound request (POST method with Request body) getting the following exception. It will be really helpful if you some insights on this.

    I have attached API Information, Request, Response data structures and JSON file as well.

    I have restarted the zoscee server with --clean parameter that didn't help. 

    JSON file, request data structures shows the CICSClaimsServiceOperaton parameter. 

    STUB RESP:                                            
    ===========                                           
    Returncode : 0000000001 | Status-code : 0000000400 | Status-msg : {"errorMessage":"BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation."}      

    I did a little research and while debugging in CICS terminal the BAQCSTUB Program  WEB READ HTTPHeader throws 400 status code.  

    any help would be appreciated. 

    Thank you.

    Mahesh.



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

    Attachment(s)

    json
    Swagger.json   10 KB 1 version
    txt
    CLA02I01.txt   567 B 1 version
    txt
    CLA02P01.txt   17 KB 1 version
    txt
    CLA02Q01.txt   11 KB 1 version


  • 2.  RE: z/OS Connect BAQCSTUB throws errorMessage":"BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation".

    Posted Mon October 09, 2023 05:59 AM

    When I check in ZOSCEE server logs could see below warning message and error message as well.

    BAQR1153W: HTTP status code 400 is returned in the response for the API operation (relativePath: /cics/health/claims/00000007, method: POST). Data transformation for the response is skipped. The response entity is returned directly.

    BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation.



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



  • 3.  RE: z/OS Connect BAQCSTUB throws errorMessage":"BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation".

    Posted Mon October 09, 2023 07:27 AM

    is this something like request body is not identified by STUB MODULE and we need to code anything in z/OS application to identify request body ?



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



  • 4.  RE: z/OS Connect BAQCSTUB throws errorMessage":"BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation".

    Posted Tue October 10, 2023 05:36 AM

    I have figured out this, issue is with POST Method coding. 



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



  • 5.  RE: z/OS Connect BAQCSTUB throws errorMessage":"BAQR7018E: The HTTP request is missing parameter CICSClaimsServiceOperation".

    Posted Tue October 10, 2023 06:11 AM

    Thanks Mahesh for letting us know that issue is resolved. In future if you hit any issue related to data transformations, you can enable z/OS Connect trace with following specification "zosConnect=all:com.ibm.cics.wlp.json.*=all:com.ibm.cics.wlp.transform.*=all". You can open a support case for z/OS Connect and share the z/OS Connect logs and configuration files, API Requester project files for analysis through support case only.

    Thanks

    Nagesh



    ------------------------------
    Nagesh G
    ------------------------------