Unable to download attachment from the outlook email

Hi, I am trying to save an attachment using save attachment activity from outlook. I have tried to diagnose this problem by changing the configuration (checking/ unchecking unread messages, altering ‘top’ for reading the number of emails) but nothing works.

I also went through the UiPath Community forum to check if others have faced similar problem too and if there is any quick however, it seems UiPath has not been able to address this issue yet.

Please, can anybody advice?

Hi @Tom1989,

Please go through below thread on downloading the attachment.

Thanks
Girish

Hi @Girish @PrankurJoshi @loginerror It doesn’t work. I am receiving following error message.:

I went through the solution posted on the forum but the problem still persists. I have added two activities namely ‘Path exists’ and ‘Create Directory’ before ‘save attachment’ activity.

Please help.

Could you copy paste the full log from the error message?

@loginerror @ImPratham45 @Girish @PrankurJoshi @ClaytonM @arivu96 @andreiT For your reference:

16:42:24.2832 Error {“message”:“Get outlook mail messages : The specified folder does not exist”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:42:24.2822906+08:00”,“fingerprint”:“e8384dc0-7d66-44af-ac7b-ca9786ea3102”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“5fb9437c-6211-4ad8-8393-87c29aa11441”,“robotName”:“CORP\TBHURE”}
16:42:24.2902 Info {“message”:“Email Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:42:24.2892804+08:00”,“fingerprint”:“f1a74e51-a499-4970-a621-0bd9896f54d1”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“5fb9437c-6211-4ad8-8393-87c29aa11441”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:0}
16:45:04.8134 Info {“message”:“Email Automation execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:04.687783+08:00”,“fingerprint”:“d08c261e-2755-424b-abde-32eb7c03686f”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“42a169a4-42c3-4879-8600-47cf20677ef8”,“robotName”:“CORP\TBHURE”}
16:45:05.2174 Error {“message”:“Get outlook mail messages : The specified folder does not exist”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:05.2164314+08:00”,“fingerprint”:“1db634b3-8d56-4773-9eed-5160b32e5c21”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“42a169a4-42c3-4879-8600-47cf20677ef8”,“robotName”:“CORP\TBHURE”}
16:45:05.2174 Info {“message”:“Email Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:05.2214597+08:00”,“fingerprint”:“4f85d7a5-c532-4e0c-a760-800f08f9f1eb”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“42a169a4-42c3-4879-8600-47cf20677ef8”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:0}
16:45:28.0730 Info {“message”:“Email Automation execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:27.9533787+08:00”,“fingerprint”:“b853f346-1ac7-453f-83f9-cb03d787eb19”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“2d287f19-2495-4584-9fc8-652743a3b3ee”,“robotName”:“CORP\TBHURE”}
16:45:28.4789 Error {“message”:“Get outlook mail messages : The specified folder does not exist”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:28.4789766+08:00”,“fingerprint”:“e93d49f3-398b-44ab-914f-c56f1524df5f”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“2d287f19-2495-4584-9fc8-652743a3b3ee”,“robotName”:“CORP\TBHURE”}
16:45:28.4789 Info {“message”:“Email Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:28.4839613+08:00”,“fingerprint”:“0265f24d-e903-4365-b315-d72bf43e18f2”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“2d287f19-2495-4584-9fc8-652743a3b3ee”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:0}
16:45:54.3191 Info {“message”:“Email Automation execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:54.1725413+08:00”,“fingerprint”:“3c663ac5-a43d-48f0-b7cb-44e562d99e33”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“b5744e88-1929-4397-a18e-9cfc9af11e94”,“robotName”:“CORP\TBHURE”}
16:45:54.6990 Error {“message”:“Get outlook mail messages : The specified folder does not exist”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:54.6980926+08:00”,“fingerprint”:“a1352f7e-dd8a-4dc7-a66b-83b018bd1086”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“b5744e88-1929-4397-a18e-9cfc9af11e94”,“robotName”:“CORP\TBHURE”}
16:45:54.6990 Info {“message”:“Email Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:45:54.7030817+08:00”,“fingerprint”:“8840617c-05a5-48c2-80bb-8ab24f0a3b7f”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“b5744e88-1929-4397-a18e-9cfc9af11e94”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:0}
16:48:53.0753 Info {“message”:“Email Automation execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:48:52.9316971+08:00”,“fingerprint”:“3359f872-8107-4c48-90f3-9f6d4e4cbbdb”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“50e3f6d6-e69d-4d25-bd4a-2b1b9ac91905”,“robotName”:“CORP\TBHURE”}
16:48:53.4912 Error {“message”:“Get outlook mail messages : The specified folder does not exist”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:48:53.4912028+08:00”,“fingerprint”:“e75f1b2d-8be2-449e-89d1-4516059b8358”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“50e3f6d6-e69d-4d25-bd4a-2b1b9ac91905”,“robotName”:“CORP\TBHURE”}
16:48:53.4961 Info {“message”:“Email Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T16:48:53.4961905+08:00”,“fingerprint”:“6412b43c-bd61-47ae-92b9-9ec5ca4e6f08”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“50e3f6d6-e69d-4d25-bd4a-2b1b9ac91905”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:0}
17:06:31.7691 Info {“message”:“Email Automation execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T17:06:31.6574148+08:00”,“fingerprint”:“fb42119b-2b12-40f2-b074-850716eee53d”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“6daa6c02-8c6d-4b23-8f5c-18d530532a8b”,“robotName”:“CORP\TBHURE”}
17:06:32.1590 Error {“message”:“Get outlook mail messages : The specified folder does not exist”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018-10-04T17:06:32.1590745+08:00”,“fingerprint”:“fd5cb78a-1179-470a-bf58-33b55aca732a”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“6daa6c02-8c6d-4b23-8f5c-18d530532a8b”,“robotName”:“CORP\TBHURE”}
17:06:32.1590 Info {“message”:“Email Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-04T17:06:32.1670544+08:00”,“fingerprint”:“60c01133-9d5d-4ddc-95fe-15bd1e5f9184”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Email Automation”,“processVersion”:“1.0.6851.22148”,“fileName”:“Main”,“jobId”:“6daa6c02-8c6d-4b23-8f5c-18d530532a8b”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:0}

Thank you. Could you also include the error message. Please use this Copy to Clipboard button to provide full exception:
image

@loginerror For your reference:

image

there is something wrong with the way your outlook account is set.
the activity can t find the Inbox folder for that account…
can you double check in Outlook?

@Gabriel_Tatu @loginerror Nope. I did check with my IT admin. Outlook has been configured correctly.

we don`t have any known issues related to this activity so its probably an environemental cause.
our robot might not have access to that account
any other outlook activity works?

@Gabriel_Tatu @loginerror I am using outlook 2016

Hi

Want to check one thing with you…

Is the outlook opened while you are processing?

Also make the account name as empty.

Thanks

also can you add another account, like gmail and try with that?

I redesigned the workflow with the same activities and this time it worked fine. That’s strange!

1 Like

Yes!

Thanks for sharing good information.

hey @Tom1989

actually my self also faced the same issue , the output email count was getting by get outlook mail messages , i want to save excel files but the mistake i did was in filter option of save attachements i placed “.xslx” instead of “.xlsx” but the error message you posted clearly says there is no folder so check whether a folder is there or not