Get Outlook Mail unable to find Folder

I am working my way through RPA Foundation, currently on Lesson 11-Email Automation. I have followed the walkthrough and the provided example but I keep getting an error saying the mail folder cannot be found. What am I doing wrong?



Before Moving mails, try to print the value of row(“Folder”).ToString and check once. If any spaces is there then use Trim to delete it. And also if it is subfolder then specify like below.


I get a series of text boxes with data from the Excel file followed by the earlier error message.