Cannot save the attachment because the path is too long

Hi All

Our Bot is trying to download attachments from the email using Save Attachments activity from Outlook. But the attachment contains a file whose name is too long.

So Bot throws the error Cannot save the attachment because the path is too long.

So how can we download that particular file ? Because of that other valid attachments are also not getting downloaded.

@Palaniyappan @loginerror @lakshman @supermanPunch

Kindly throw some light on this.

You can try below

How can we change the file name ?

We are using Save Attachments activity, so that it will just download the attachment ? Where is the option to change the file name.

Put it into a local folder like Downloads, then rename it, then move it.

However, you should also take a look at your destination folder path because it sounds like it needs to be shortened. This isn’t a UiPath thing, it’s a Windows thing.