BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Error when deploying snapshots in BAW 21.0.3

    Posted Tue September 24, 2024 04:18 AM

    Hello community,

    I have this error when deploying a snapshot using Swagger UI.

    CWTBG0651E: The request was blocked because the BPMCSRFToken token header could not be verified(see attached capture)

    Need yours suggestions 


    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------


  • 2.  RE: Error when deploying snapshots in BAW 21.0.3

    Posted Tue September 24, 2024 04:37 AM

    Hello Mansour,

    BPMCSRFToken is mandatory to invoke those APIs, you should first obtain the CSRF token from /system/login API, then pass that in the header of the actual API call.

    Thanks!



    ------------------------------
    Atanu Roy
    Lead Engineer
    London Stock Exchange Group
    ------------------------------



  • 3.  RE: Error when deploying snapshots in BAW 21.0.3

    Posted Tue September 24, 2024 04:48 AM

    Hello Atanu Roy

    I do it first but i get always the same error.



    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------



  • 4.  RE: Error when deploying snapshots in BAW 21.0.3

    Posted Sun September 29, 2024 07:25 AM

    are you doing this using an admin user like was admin user?



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------



  • 5.  RE: Error when deploying snapshots in BAW 21.0.3

    Posted Mon September 30, 2024 04:08 AM

    Hello Ahmed,

    Yes, I'm doing this with an admin user.



    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------



  • 6.  RE: Error when deploying snapshots in BAW 21.0.3

    Posted Mon September 30, 2024 09:04 PM

    Hi Mansour, 

    Just wondering if you can call any other requests or just the deploy request?

    Thanks



    ------------------------------
    Thong Huynh
    Sydney
    ------------------------------



  • 7.  RE: Error when deploying snapshots in BAW 21.0.3
    Best Answer

    Posted Thu October 03, 2024 03:59 AM

    Hi Huynh, 

    After checking the logs, we realized that the snapshot had already been deployed and was active.
    This was the reason of the error.

    Thank for you advices



    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------