taruna.mehra
(Taruna Rishu Mehra)
November 30, 2022, 5:07pm
1
Hi All,
I am getting one error again and again on the file is not available on this path. When i am entering the error on run then its opening the file but through bot its not taking.
“:C:\Users\cholamsuab8\Documents\UiPath\OEN\OEN Process\ProcessFolder\Input\2022\Nov\30\MLBL\Portal File\Portal File.csv”
This file is available but its again and again showing not available.
Can someone please urgently advise where i am going wrong. The values of arguments are correct.
Thanks
Taruna
rajat.jain
(Rajat Jain)
November 30, 2022, 5:17pm
2
@taruna.mehra can you access this file from the run window
try windows+r → enter the same path
If it is access from there then it should be accessible from the uipath too
Anil_G
(Anil Gorthi)
November 30, 2022, 5:19pm
3
Hi @taruna.mehra
Is thw colon at the start before c is a typo here or you gave it like that?
I dont think its needed
Cheers
taruna.mehra
(Taruna Rishu Mehra)
November 30, 2022, 5:21pm
4
Tried, its opening the file but bot is unable to find this file.
taruna.mehra
(Taruna Rishu Mehra)
November 30, 2022, 5:22pm
5
C:\Users\cholamsuab8\Documents\UiPath\OEM\OEM Process\ProcessFolder\Input\2022\Nov\30\MIBL\Portal File\Portal_File.csv
This is the error.
Anil_G
(Anil Gorthi)
November 30, 2022, 5:24pm
6
@taruna.mehra
So colon solved or your are still getting it?
If yes can you share the error and which activity is throwing it
Alternately try printing it in log message and check if its correct or if there are any special characters
Cheers
taruna.mehra
(Taruna Rishu Mehra)
November 30, 2022, 5:25pm
7
Hi Anil,
The file path is correct when am checking in log. Its coming when am checking in Path exists activity. There i have passed the arguments directory.getfiles(Argument)(0) so that it should read 1st file in this folder.
Anil_G
(Anil Gorthi)
November 30, 2022, 5:28pm
8
@taruna.mehra
Is this what you have given?
Directory.Getfiles(“C:\Users\cholamsuab8\Documents\UiPath\OEM\OEM Process\ProcessFolder\Input\2022\Nov\30\MIBL\Portal File”) and it dint work?
And is that location locked or need admin previleges to open?
Cheers
rajat.jain
(Rajat Jain)
November 30, 2022, 5:34pm
9
put the file on the desktop and test once.
rajat.jain
(Rajat Jain)
November 30, 2022, 6:15pm
11
@taruna.mehra I have created a similar structure and it is working fine for me
can u share the xaml ( with sample data file)
taruna.mehra
(Taruna Rishu Mehra)
November 30, 2022, 10:57pm
12
The issue is resolved, Thanks.
system
(system)
Closed
December 3, 2022, 10:57pm
13
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.