Digital Exchange

 View Only
last person joined: yesterday 

This community is a place to discuss Blue Prism DX assets and development.

  • 1.  Utility - HTTP (Async)::POST JSON issues

    Posted 5 days ago
    I'm trying to POST a simple JSON object , but I keep getting an error. Also I'm calling the startup action before POST.

    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Utility___HTTP__Async_.ExecuteRequest(HttpMethod method, String descriptor, String url, DataTable requestHeaders, String contentType, DataTable nvContent, String textContent, DataTable fileContent, String username, String password, String bearerToken)
       at Utility___HTTP__Async_.<>c__DisplayClass5_0.<ExecuteAsync>b__0()
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---​

    I created a request collection to match the docs. If I leave out a field regardless of it saying it's optional, then I get an error in regards to that field so I have fields that are there, but not populated too. (optional ones). Also the docs say JSON needs to be a string so I assume you have to stringify it, but I tried that and just wrapping JSON object in quotes like this

    "\"{'test': 'testing'}\""
    "{'test': 'testing'}"

    but that doesn't seem to work unless something else is causing my POST issue.

    Here's my request collection

    What am I doing wrong? I appreciate any help!

  • 2.  RE: Utility - HTTP (Async)::POST JSON issues

    Posted 4 days ago
    @Jason Cappleman,

    Have you taken a look at the example performance measurement process included on the asset page for the async HTTP VBO?

    If you're sending just regular JSON you'd want the TextContent field of the record to look something like this:

    Do not place double quotes around the value. This is just like a Text data item. Also, your ContentType entry should just be application/json. Do not include double quotes around the value. Text data items, in Blue Prism, are not double quoted. Double quotes are only necessary when you're dealing for a Calculation stage/field value.


    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange

Welcome to the Blue Prism Digital Exchange Community!

The Blue Prism Digital Exchange is a "shop window" for new and emerging technologies—a platform that puts powerful RPA and AI capabilities into the hands of business leaders. Users can find and apply pre-built AI capabilities, in the form of downloadable integrations and Visual Business Objects (VBOs), to automated processes. These assets connect and integrate Digital Workers, existing systems and processes to Blue Prism's technology partners, creating a solid foundation of AI-enabled Intelligent Automation that's scalable and sustainable.

Blue Prism Digital ExchangeDX Asset IdeasContact DX Support


The Blue Prism Digital Exchange (DX) is an online marketplace where businesses can instantly access, apply and share pre-built AI, cognitive and advanced RPA technologies from best-in-class providers. These assets easily connect to existing digital workers, systems and processes to enhance automation capabilities.
The Digital Exchange is free to all users. Most of the content on the DX is free to download but there are some submissions that do have a cost associated. The submissions with a cost are advertised on the asset card and profile. No unwanted costs will be applied to any users.
You can visit and browse the Digital Exchange here. If you would like to consume or download any material it is necessary to create an account on the Blue Prism Portal first.
Everyone can access the Digital Exchange and consume the assets on it. If you would like to contribute to the marketplace it is necessary that you create an account and sign up as a partner.