Error "Read Range Workbook: Workbook Path needs to be set." how to solve this

the requirments is that I want to save the attchement from mail, read this attchement, load the data to queue and use system exception while attachement is not saved and mail attchement is not saved i have build the developement now I want to use asset for path I have done and used Asset for path but sometimes it runnign fine and sometimes it showing this error “Read Range Workbook: Workbook Path needs to be set.” how to solve this.

Hi @pallavi_patil2

When you are saving the attachments is the excel file getting saved every time?

Regards

yes its saving in path folder

The error message is pretty clear, you aren’t giving it the path and filename of the Excel file.

I have create asset for path

Hi @pallavi_patil2

May I know where is the file getting downloaded. Is is getting downloaded in your Project Folder?

If it’s getting downloaded in your project folder please make sure to save the excel file in Common drive like C:\Users\FolderName\FIleName.xlsx

Pass that file path in Asset and try reading the file.

Regards

1 Like

yes it is saving at UiPath\data\input

Hi @pallavi_patil2

Please try to save it in any of the common Drive which you have like C Drive or D Drive. And pass that particular file path in the asset.

Regards

1 Like

ok i will check Thank you so much

1 Like

Hi I have make mail unread and checked the flow but mail attchement is not saving @Parvathy

Hi @pallavi_patil2

Can you share the screenshot of the flow what you are doing to save the attachment.

Regards


Hi @pallavi_patil2

What is the path you are getting in in_Config("TaskAsset").ToString

Regards

@Parvathy please check and help me





Hi @pallavi_patil2

Have you created the asset in that same workspace only.

Regards

please check this @PalaniSelvam

yes Parvathy i did at same but in config i have removed this

@pallavi_patil2

Can you share the Attachment Folder path.

Regards

Actually Parvathy I am not able to download mail attchement

C:\Users\pamohanp\OneDrive - MindSpace\Documents\UiPath\Task\Data\Input
@Parvathy