<?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 Error -Specified Cast Not Valid while Retrieving mails - Outlook VBO in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56786#M10916</link>
    <description>Hello Team,

I am facing an issue with Outlook VBO internal Business object - Basic Get Mails action. I am trying to read all emails from Inbox both Unread &amp;amp; Unread emails. Once in every 10 runs , we get an error "Specified Cast not Valid". After attempting run mutiple times on the same set of mails, it works. I have checked event logs but it does not show anything unusual.

Any idea what is causing this issue ? Any help in this regard is much appreciated.

Â&amp;nbsp;

Â&amp;nbsp;

Â&amp;nbsp;</description>
    <pubDate>Wed, 08 May 2019 06:00:00 GMT</pubDate>
    <dc:creator>ArunAnto</dc:creator>
    <dc:date>2019-05-08T06:00:00Z</dc:date>
    <item>
      <title>Error -Specified Cast Not Valid while Retrieving mails - Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56786#M10916</link>
      <description>Hello Team,

I am facing an issue with Outlook VBO internal Business object - Basic Get Mails action. I am trying to read all emails from Inbox both Unread &amp;amp; Unread emails. Once in every 10 runs , we get an error "Specified Cast not Valid". After attempting run mutiple times on the same set of mails, it works. I have checked event logs but it does not show anything unusual.

Any idea what is causing this issue ? Any help in this regard is much appreciated.

Â&amp;nbsp;

Â&amp;nbsp;

Â&amp;nbsp;</description>
      <pubDate>Wed, 08 May 2019 06:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56786#M10916</guid>
      <dc:creator>ArunAnto</dc:creator>
      <dc:date>2019-05-08T06:00:00Z</dc:date>
    </item>
    <item>
      <title>Maybe temporarily enableâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56787#M10917</link>
      <description>Maybe temporarily enable logging in the VBo to see where the failure point is?
Or could it be 1 mail in particular that is causing the issue? In the VBO on the 'Internal_Get Items' page you'll see the code stage that retrieves mail. In it you'll see a series of lines where it populates a row in the datatable (collection) output, egÂ&amp;nbsp;row("Subject") = item.Subject
I'm wondering if the cast error comes from one of these lines? And maybe by commenting out these lines one at a time and re-running the test, you'll locate the problem?</description>
      <pubDate>Fri, 10 May 2019 13:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56787#M10917</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2019-05-10T13:45:00Z</dc:date>
    </item>
    <item>
      <title>Hi John,
Â 
Thanks for theâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56788#M10918</link>
      <description>Hi John,
Â&amp;nbsp;
Thanks for the response . I did go through the code stage and removed unwanted attributes of the item .as i initally felt the same .For eg: attachment etc . However Â&amp;nbsp;I was bit confused since if i try mutliple times , it works for the same set of mails.</description>
      <pubDate>Sun, 12 May 2019 09:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56788#M10918</guid>
      <dc:creator>ArunAnto</dc:creator>
      <dc:date>2019-05-12T09:19:00Z</dc:date>
    </item>
    <item>
      <title>Hmm strange. If it can workâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56789#M10919</link>
      <description>Hmm strange. If it can work sometimes and sometimes not, could it be that Outlook is 'doing something' at the time of the exception? Not sure what to suggest to beÂ&amp;nbsp;honest, other than to keep experimenting to bear down on the problem.</description>
      <pubDate>Mon, 13 May 2019 13:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/56789#M10919</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2019-05-13T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error -Specified Cast Not Valid while Retrieving mails - Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/109121#M49462</link>
      <description>&lt;P&gt;Hi, I just had the same situation and it turned out that it has been caused by some recalled messaged in an inbox. Once I removed this recalled message (as it's not really a message but some other type of Outlook item), the 'List Emails' action started working again.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 11:28:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-Specified-Cast-Not-Valid-while-Retrieving-mails-Outlook/m-p/109121#M49462</guid>
      <dc:creator>JanSkarbek</dc:creator>
      <dc:date>2024-04-02T11:28:40Z</dc:date>
    </item>
  </channel>
</rss>

