Question

i am getting this error --> The directory '' does not exist. Enter a valid directory.

  • 2 March 2022
  • 4 replies
  • 37 views

Hello,

I am looping through each file in folder where i am getting this error --> The directory '' does not exist. Enter a valid directory.

while accessing the path of the folder which is in groupshare

also this wont come for each run

 

Please suggest 

image


4 replies

Userlevel 3
Badge +7

Hi @Sheetal Kawade​ ,

 

There seems to be an issue with the FolderPath that you have passed in, could you double check whether the directory exists?

 

You can also test it using an If: Folder Exists Action ->

 

image 

Kind Regards,

Ashwin A.K

Hello Ashwin,

 

Thanks for replying

But i could just resolve this issue

 

I checked in the loop if the dataset-column(0) is not equal to blank

If blank, it will break the loop

 

and this worked

 

Thanks again

 

Userlevel 3
Badge +7

Nothing beats finding the solution on your own!

 

Kind Regards,

Ashwin A.K

Hello @Ashwin A.K​ 

I am facing this issue again on runner machine

The directory exists and its a path is of groupshare folder which i am accessing from runner machine

Bot is scheduled every 15 mins to access this path and look for any file

So sometimes it is accessible and sometimes it is throwing error that it does not exists

 

any suggestions from your side ?

 

Thanks

Reply