Getting error in Digitize Document Digitize Document: Input document not found: C:\Users\Dell\Documents\UiPath\Du_Day1\Data\Inputs\Archive

Hi All

I have documents in input folder buts still getting an error

Digitize Document: Input document not found: C:\Users\Dell\Documents\UiPath\Du_Day1\Data\Inputs\Archive

@Sam_H

You have to give the file location directly…not the folder location…

Can you please try giving the full filepath and check

Cheers

I have multiple files bcz of that only given location

any other way to do it

Can you try with current directory + the path
Use get file Directory.GetFiles(“Path of the Directory”,“*.xlsx”,SearchOption.AllDirectories)

Regards.

1 Like

@Sam_H

Then you have to use a for loop …and pass each document fullpath one after the other

You can use for each file in folder activity and use digitize inside that loop

Inside loop currentfile.FullName will give you the full file location in each iteration

Hope this helps

Cheers

I have done the same thing but still getting error

image

@Sam_H

Please use a log message and check if the currentfile.fullname is giving the correct path…

And for inputs folder please try using like this

Path.Combine(Environment.Currentdirectory,Data,Inputs)

Cheers

1 Like

Please check your path.
Use path.combine.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.