Blue Prism Product

 View Only
last person joined: yesterday 

This community covers the core Blue Prism RPA product.

  • 1.  API Issue "Could not verify the provided CSRF token because your session was not found"

    Posted 8 days ago
      |   view attached
    Hi,

    I'm having an issue with an API invocation that needs OAuth 2.0 (JWT Bearer Token) mechanism with CSRF token (refer below link for details). Able to invoke API through postman tool however, having difficulty in invoking the API via Blue prism. Have tried two options on Blue Prism 1. Configure Web API Services and invoke end point 2. Utility-HTTP -> HTTP Request. Able to generate token in 2nd option but unable to invoke API successfully using the token generated. It throws 403 Forbidden error "Could not verify the provided CSRF token because your session was not found"
    The observation is that PostMan is using Bearer <Token> + cookie value. Below is the test script. Not sure how to achieve this in Blue Prism.  Unable to use Fiddler as it is restricted in the organization.

    var xsrfcookie = postman.getResponseCookie('XSRF-TOKEN');
    postman.setEnvironmentVariable('xsrf-token',xsrfcookie.value);


    CSRF Token setup: https://www.baeldung.com/postman-send-csrf-token

    Appreciate your help

    Thanks, Prabhakar

    ------------------------------
    Prabhakara Kumar Malireddi
    Architect
    Cognizant Technology Services
    America/Chicago
    ------------------------------


  • 2.  RE: API Issue "Could not verify the provided CSRF token because your session was not found"

    Posted 8 days ago

    Hi Prabhakara,

    Are you not getting it as part of response on authentication? It sometimes is part of the headers on authentication.

    Thanks.



    ------------------------------
    Gopal Bhaire
    ------------------------------



  • 3.  RE: API Issue "Could not verify the provided CSRF token because your session was not found"

    Posted 7 days ago
    Hi Gopal,

    Thanks for your help.  Yes,  i see similar to this: - " dtCookie=xxx-yyyy-dfdfdf-sdfsdf-dfedfdsfsdfdsfsdf; Path=/; Domain=xx.com,PF=ABCDEDD;Path=/;Secure;HttpOnly;SameSite=None" .  Tried with value cookie value but didn't work.  Am i missing something?

    Appreciate your help.

    ------------------------------
    Prabhakara Kumar Malireddi
    Architect
    Cognizant Technology Services
    America/Chicago
    ------------------------------



  • 4.  RE: API Issue "Could not verify the provided CSRF token because your session was not found"

    Posted 7 days ago

    Hi Prabhakara,

    I think the token is part of cookie. You can modify the code to get cookies from the response.

    Make a duplicate of HTTP Request page and try the following code (untested) on line 66, you might have to add one more text output cookies

    Using response As HttpWebResponse = request.GetResponse()
    	  For Each cookie As Cookie In response.Cookies
    			cookies += cookie.Name.ToString() + cookie.Value.ToString() + cookie.Path.ToString() + cookie.Domain.ToString()
    	  Next



    ------------------------------
    Gopal Bhaire
    ------------------------------



  • 5.  RE: API Issue "Could not verify the provided CSRF token because your session was not found"

    Posted 6 days ago
    @Prabhakara Kumar Malireddi,

    First question I always ask in a situation where someone's having problems using the HTTP VBO for token/apikey authentication is, have you downloaded the latest version of the HTTP VBO from the DX? If you're using the version that came with your Blue Prism installation you are not using the latest one.​

    The version available on the DX has a few new options including a flag to signify that a bearer token will be used.

    Cheers,

    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------



Welcome to the Blue Prism RPA Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering
Product Research ProgramUpdates, Releases & Announcements

FAQs

Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism RPA can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism RPA can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.