Get Batch Metadata throws exception - error in XML document
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-04-22 01:56 PM
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>Get Batch Metadata) gave an exception of a couple of batches.
"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)
If I read the corresponding metadata using the SQL and parse it using the (Utility Strings>Get XML elements) It works fine without error.
What could be causing the 'Get Batch Metadata' to give this error?
------------------------------
Kalash Sharma
IA Consultant
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-04-22 02:34 PM
I can't say that I've seen this error before, I recommend raising a support ticket so we can investigate.
Thanks
------------------------------
Ben Lyons
Senior Product Specialist - Decipher
Blue Prism
UK based
------------------------------
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-09-23 02:33 PM
Hi,
Did you find a resolution for this issue? We've experienced it twice in the last week after months of running without a problem.
Thanks
------------------------------
Dan Lister
Developer
Arvato
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-09-23 01:01 PM
Hi Dan,
From memory, this Decipher action was struggling to parse the XML when a letter combination &#' 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 '&#' as it distorts the XML output.
The solution is to make sure you replace ''&# with "" while using 'Add batch metadata' and it will start to work fine.
Hope I was able to help.
------------------------------
Kalash Sharma
IA Consultant
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-09-23 01:13 PM
Thank you for the quick reply.
We will try this and keep our fingers crossed.
Thanks
------------------------------
Dan Lister
Developer
Arvato
Europe/London
------------------------------
