Kindly check if the folder is selected from the suggestions of UiPath or hard coded the folder directly
If it is hard coded - Make sure that the folder name is not sub folder. If it is sub folder - the syntax is Inbox\SubfolderName
UiPath will give you the suggestion. Better to select from the suggested drop downs instead of typing to avoid any typo error.