Hi all,
I was not entirely sure where to post this. I have an app that records data into Dataverse, but also saves multiple documents to a SharePoint document library using a Microsoft Graph API call.
My issue is: I use a ForAll function to see if the name of a document is already in my document library,

but when a document is not uploaded the app spits out an error message:

The app is currently working the way I would like it to, the issue is Soley the fact that the users see the error message. In all of my testing, the ForAll function works for preventing duplicate documents from being uploaded and even submits new ones regardless of that error message.
If anyone knows of a way to prevent the error from occurring, or another way to prevent duplicates in my SharePoint document library, I would greatly appreciate it.