Facing this error while reading pdf path

please suggest any idea facing parameter error while reading pdf document path,facing this error while reading pdf path

@Gamelytics

Can you show the activity

Either you gave in wrong plce or the file does not exist

Cheers

Hi @Gamelytics ,
Can you share your file?
PLease check your file path, it must correct
regards

yes i m using correct way

Directory.GetFiles(“C:\Users\Kapil Sharma\Documents\UiPath\OfficePDF\Input\0000206668.pdf”)

this is like whole path i m giving

Directory.GetFiles(“C:\Users\Kapil Sharma\Documents\UiPath\OfficePDF\Input\0000206668.pdf”)

this issue has resolved thnx for response

@Gamelytics

In directory.getfiles you have to provide folder path and not file path…

Filename can be provided optional

If fullpath is there then no need of directory.getfiles again

Cheers

Hi @Gamelytics

Try this

Directory.GetFiles(“C:\Users\Kapil Sharma\Documents\UiPath\OfficePDF\Input”)