Read Range doesn't exists - Write Range activity


I am using the Directory.GetFiles() to acess the PDF files inside a folder. I want to read all PDF file and Copy it to excel file using the Read PDF text activity. The issue is that it worked for few records only then suddenly its showing an error like “Write Range : The range does not exist.”
i am using uipath version 2.3

Anyone please advise


What is the range you have provided in that activity?

Try assigning to the DTvariable you are using the Default value of New System.Data.Datable