<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Web API Service - Response Content is undefined in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54459#M969</link>
    <description>Hi Charles,&lt;BR /&gt;&lt;BR /&gt;The response should be like this.&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ian Lumbang&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 07 Aug 2020 06:11:00 GMT</pubDate>
    <dc:creator>IanLumbang</dc:creator>
    <dc:date>2020-08-07T06:11:00Z</dc:date>
    <item>
      <title>Web API Service - Response Content is undefined</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54457#M967</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Any idea why the response content is undefined even though the HTTP status code from the api is success?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm attaching screenshot of the configuration in System&amp;gt;Web API Services and the result of the test.&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ian Lumbang&lt;BR /&gt;------------------------------</description>
      <pubDate>Thu, 06 Aug 2020 13:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54457#M967</guid>
      <dc:creator>IanLumbang</dc:creator>
      <dc:date>2020-08-06T13:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Web API Service - Response Content is undefined</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54458#M968</link>
      <description>Hi Ian,&lt;BR /&gt;&lt;BR /&gt;I am curious what the response content looks like if you try the exact same request in Postman. Do you get undefined values there, too? Or is it different?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charles Kovacs&lt;BR /&gt;Developer Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Aug 2020 16:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54458#M968</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2020-08-06T16:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Web API Service - Response Content is undefined</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54459#M969</link>
      <description>Hi Charles,&lt;BR /&gt;&lt;BR /&gt;The response should be like this.&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ian Lumbang&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Aug 2020 06:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54459#M969</guid>
      <dc:creator>IanLumbang</dc:creator>
      <dc:date>2020-08-07T06:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Web API Service - Response Content is undefined</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54460#M970</link>
      <description>Here are a few thoughts I had:&lt;BR /&gt;&lt;BR /&gt;1. What happens if you use that exact same Request ID (2057Cjc4M) and Status (inprogress) now on the Blue Prism side? Perhaps that Request ID needs to be reset on the Azure web app to ensure the Blue Prism test is identical to Postman.&lt;BR /&gt;&lt;BR /&gt;2. In the Web API Service, is there anything configured in the Response section for this request? If this section is blank, we will know that the Response Content is not being altered here.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6984.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7157iD9019E30087027D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="6984.png" alt="6984.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;2. Are you using Blue Prism and Postman to send these API calls from the same computer? Would there be a network/IP reason to get different responses?&lt;BR /&gt;&lt;BR /&gt;3. Do you have access to those Azure web app logs? This may reveal if the undefined values are being generated there.&lt;BR /&gt;&lt;BR /&gt;4. Lastly, what happens if you set up the Response page to look something like this? You will need to declare those parameters listed here and then set them up as Data Items in your object/process:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6985.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7160iF844D6B9D708805D/image-size/large?v=v2&amp;amp;px=999" role="button" title="6985.png" alt="6985.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In my experience, Blue Prism does not alter the Response Content by default, so it would not quietly substitute an 'undefined' value into a JSON body. That Response Content should truly just be a string representation of what the server returned. Usually when Blue Prism fails to parse something, it will throw an exception message and stop the process/object.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charles Kovacs&lt;BR /&gt;Developer Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Aug 2020 16:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54460#M970</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2020-08-07T16:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Web API Service - Response Content is undefined</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54461#M971</link>
      <description>Hi Charles,&lt;BR /&gt;&lt;BR /&gt;Good day!&lt;BR /&gt;&lt;BR /&gt;Please see my responses to some of your queries:&lt;BR /&gt;1. Tested the same request id but different status and still getting "requestid: undefined, status: undefined"&lt;BR /&gt;2.a. Response setting was blank when API calls was sent previously.&lt;BR /&gt;4. Tried it but ​got blank/empty string response from created Response parameters&lt;BR /&gt;&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ian Lumbang&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Aug 2020 08:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54461#M971</guid>
      <dc:creator>IanLumbang</dc:creator>
      <dc:date>2020-08-10T08:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Web API Service - Response Content is undefined</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54462#M972</link>
      <description>Hi Ian,&lt;BR /&gt;&lt;BR /&gt;Sorry, I incorrectly numbered some of those questions. I would be curious on your findings to questions 2b and 3. For question 4, what did the Response Content data item look like?&lt;BR /&gt;&lt;BR /&gt;Alternatively, you might try using the REST VBO or HTTP VBO to send these web requests to see if that changes anything. If they are not already imported, you will find them in your install directory: C:\Program Files\Blue Prism Limited\Blue Prism Automate\VBO&lt;BR /&gt;&lt;BR /&gt;As a last resort, you could try writing a code stage as well in C# or VB.NET. I would write and test it in Visual Studio first. I have found this to be helpful as debugging in Visual Studio can give you a more precise and verbose set of information on where an error may be happening. If the code works in Visual Studio, it can be moved over to Blue Prism and should be expected to work the same there.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Charles Kovacs&lt;BR /&gt;Developer Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54462#M972</guid>
      <dc:creator>charliekovacs</dc:creator>
      <dc:date>2020-08-10T16:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: Web API Service - Response Content is undefined</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54463#M973</link>
      <description>Hi Charles,&lt;BR /&gt;&lt;BR /&gt;I tried writing and altering some code stages in HTTP VBO to send POST request. So with the existing code in the object and the information from internet I was able to get it to work.&lt;BR /&gt;&lt;BR /&gt;Thank you so much for your time.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ian Lumbang&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Aug 2020 07:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Web-API-Service-Response-Content-is-undefined/m-p/54463#M973</guid>
      <dc:creator>IanLumbang</dc:creator>
      <dc:date>2020-08-11T07:45:00Z</dc:date>
    </item>
  </channel>
</rss>

