<?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: &amp;quot;Utility - JSON::JsonPath - Return Collection&amp;quot;  throwing error in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/quot-Utility-JSON-JsonPath-Return-Collection-quot-throwing-error/m-p/116381#M3983</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60524"&gt;@Cuckoo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is unable to find the value in the json. when it try to identify the names it is returned as empty value and eventually it tried to create a collection from the empty value that is teh root cause of exception.&lt;BR /&gt;&lt;BR /&gt;YOu need to make sure your json&amp;nbsp; structure and name of the json property is accurate&lt;/P&gt;</description>
    <pubDate>Sun, 20 Oct 2024 05:14:46 GMT</pubDate>
    <dc:creator>harish.mogulluri</dc:creator>
    <dc:date>2024-10-20T05:14:46Z</dc:date>
    <item>
      <title>"Utility - JSON::JsonPath - Return Collection"  throwing error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/quot-Utility-JSON-JsonPath-Return-Collection-quot-throwing-error/m-p/116309#M3981</link>
      <description>&lt;P&gt;Hello Community members,&lt;/P&gt;&lt;P&gt;Help required in parsing the JSON file and trying to extract the values using JSON path.&lt;/P&gt;&lt;P&gt;Tried to extract using "Utility - JSON::JsonPath". It works fine. But for returning a collection something went wrong.&lt;/P&gt;&lt;P&gt;In "Utility - JSON::JsonPath - Return Collection" I'm getting the following error:&lt;/P&gt;&lt;P&gt;Exception thrown --&amp;gt; "Internal : Could not execute code stage because exception thrown by code stage: Unable to cast object of type 'System.String' to type 'System.Data.DataTable'."&lt;/P&gt;&lt;P&gt;JSON for parsing:&lt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p;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I/P tab details in Utility - JSON::JsonPath - Return Collection:&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cuckoo_0-1729070416574.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39595iD3636896EED94309/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Cuckoo_0-1729070416574.png" alt="Cuckoo_0-1729070416574.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;O/P tab details in Utility - JSON::JsonPath - Return Collection:&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cuckoo_1-1729070459820.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39596i352DE47A071207ED/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Cuckoo_1-1729070459820.png" alt="Cuckoo_1-1729070459820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Cuckoo George&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 09:27:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/quot-Utility-JSON-JsonPath-Return-Collection-quot-throwing-error/m-p/116309#M3981</guid>
      <dc:creator>Cuckoo</dc:creator>
      <dc:date>2024-10-16T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: "Utility - JSON::JsonPath - Return Collection"  throwing error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/quot-Utility-JSON-JsonPath-Return-Collection-quot-throwing-error/m-p/116381#M3983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60524"&gt;@Cuckoo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is unable to find the value in the json. when it try to identify the names it is returned as empty value and eventually it tried to create a collection from the empty value that is teh root cause of exception.&lt;BR /&gt;&lt;BR /&gt;YOu need to make sure your json&amp;nbsp; structure and name of the json property is accurate&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 05:14:46 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/quot-Utility-JSON-JsonPath-Return-Collection-quot-throwing-error/m-p/116381#M3983</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2024-10-20T05:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: "Utility - JSON::JsonPath - Return Collection"  throwing error</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/quot-Utility-JSON-JsonPath-Return-Collection-quot-throwing-error/m-p/116438#M3984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60524"&gt;@Cuckoo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for being a SS&amp;amp;C Blue Prism customer, and for using Blue Prism. From what I can tell, you are trying to search the array and return a name value pair. V10.0.1 of the asset doesn't support this, however I have been working on 10.0.2 which resolves this issue and provides the outcome you require. Thank you for bringing this shortfall to our attention and I hope the new revision will resolve your issues.&lt;/P&gt;&lt;P&gt;Thanks again for using Blue Prism and for your interest in the Json Asset.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 09:56:19 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/quot-Utility-JSON-JsonPath-Return-Collection-quot-throwing-error/m-p/116438#M3984</guid>
      <dc:creator>GeoffHirst</dc:creator>
      <dc:date>2024-10-22T09:56:19Z</dc:date>
    </item>
  </channel>
</rss>

