Skip to main content
Question

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


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

Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • March 2, 2022

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


  • Author
  • Navigator | Tier 3
  • 43 replies
  • March 2, 2022

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

 


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • March 2, 2022

Nothing beats finding the solution on your own!

 

Kind Regards,

Ashwin A.K


  • Author
  • Navigator | Tier 3
  • 43 replies
  • March 7, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings