I have a flow that delete folders and files that after xx of days. The flow is correctly deleting the 10 items (3 folders, 3 subfolders, and 4 files) based on the set condition. However, the flow run status still says failed with an "Item not found" error. I debug using variable counter without delete action and it confirms that the condition set is correct.
Upon investigation it seems to throw the error after the first sucessful delete. I am suspecting may be the first successful delete has deleted the folder and all content within and thus when the flow try to delete the next item (items in the deleted folder), it's deleted already. However, if this is the situation, how come I am seeing all the correct folder an files are indeed getting deleted correctly in that SP library? I should only see that one folder deleted.
So the flow is working correctly and deleting the folders and files according to condition set...
But any idea/suggestion on how to resolve the failed error message?
Below are some screenshots for ref.


Thanks for any advice.
T.C.