<?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 Get Batch Metadata throws exception - error in XML document in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66295#M18900</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;My robot submits the batch to Decipher after setting some metadata. After verification, it reads the metadata along with Decipher output to create the queue item. It was working fine for a long time but today It (Decipher&amp;gt;Get Batch Metadata) gave an exception of a couple of batches.&lt;BR /&gt;&lt;STRONG&gt;"Could not execute code stage because exception thrown by code stage Unable to get batch metadata: There is an error in XML document (9, 3093)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;If I read the corresponding metadata using the SQL and parse it using the (Utility Strings&amp;gt;Get XML elements) It works fine without error.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8949.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9124i6DAB59E03E436964/image-size/large?v=v2&amp;amp;px=999" role="button" title="8949.png" alt="8949.png" /&gt;&lt;/span&gt;&lt;BR /&gt;What could be causing the 'Get Batch Metadata' to give this error?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kalash Sharma&lt;BR /&gt;IA Consultant&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 19 Apr 2022 12:56:00 GMT</pubDate>
    <dc:creator>denzain</dc:creator>
    <dc:date>2022-04-19T12:56:00Z</dc:date>
    <item>
      <title>Get Batch Metadata throws exception - error in XML document</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66295#M18900</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;My robot submits the batch to Decipher after setting some metadata. After verification, it reads the metadata along with Decipher output to create the queue item. It was working fine for a long time but today It (Decipher&amp;gt;Get Batch Metadata) gave an exception of a couple of batches.&lt;BR /&gt;&lt;STRONG&gt;"Could not execute code stage because exception thrown by code stage Unable to get batch metadata: There is an error in XML document (9, 3093)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;If I read the corresponding metadata using the SQL and parse it using the (Utility Strings&amp;gt;Get XML elements) It works fine without error.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8949.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9124i6DAB59E03E436964/image-size/large?v=v2&amp;amp;px=999" role="button" title="8949.png" alt="8949.png" /&gt;&lt;/span&gt;&lt;BR /&gt;What could be causing the 'Get Batch Metadata' to give this error?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kalash Sharma&lt;BR /&gt;IA Consultant&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2022 12:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66295#M18900</guid>
      <dc:creator>denzain</dc:creator>
      <dc:date>2022-04-19T12:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get Batch Metadata throws exception - error in XML document</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66296#M18901</link>
      <description>Hi Kalash,&lt;BR /&gt;&lt;BR /&gt;I can't say that I've seen this error before, I recommend raising a support ticket so we can investigate.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Senior Product Specialist - Decipher&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK based&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2022 13:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66296#M18901</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2022-04-19T13:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get Batch Metadata throws exception - error in XML document</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66297#M18902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you find a resolution for this issue? We've experienced it twice in the last week after months of running without a problem.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dan Lister&lt;BR /&gt;Developer&lt;BR /&gt;Arvato&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66297#M18902</guid>
      <dc:creator>Dan.Lister</dc:creator>
      <dc:date>2023-09-15T13:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get Batch Metadata throws exception - error in XML document</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66298#M18903</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;
&lt;P&gt;From memory, this Decipher action was struggling to parse the XML when a letter combination &amp;amp;#' was present as data output. When GetBatchMetadata is executed and it tries to make sure the output is a valid XML as the very last step, and it consequently fails on reading the '&amp;amp;#' as it distorts the XML output.&lt;/P&gt;
&lt;P&gt;The solution is to make sure you replace ''&amp;amp;# with "" while using 'Add batch metadata' and it will start to work fine.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hope I was able to help.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kalash Sharma&lt;BR /&gt;IA Consultant&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2023 12:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66298#M18903</guid>
      <dc:creator>denzain</dc:creator>
      <dc:date>2023-09-18T12:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Get Batch Metadata throws exception - error in XML document</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66299#M18904</link>
      <description>&lt;P&gt;Thank you for the quick reply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;We will try this and keep our fingers crossed.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dan Lister&lt;BR /&gt;Developer&lt;BR /&gt;Arvato&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2023 12:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-Batch-Metadata-throws-exception-error-in-XML-document/m-p/66299#M18904</guid>
      <dc:creator>Dan.Lister</dc:creator>
      <dc:date>2023-09-18T12:13:00Z</dc:date>
    </item>
  </channel>
</rss>

