Hi,
I have created a flow that sends an email to a shared mailbox if someone deletes a file in a sharepoint site. And it works well when I tested it, and it worked well with other users when I didn't have the expression:
first(outputs('Send_an_HTTP_request_to_SharePoint')?['body']['value'])['DirName']

It now fails on DirName (Send an email (V2)) when other users delete a file. Any reason for this? Do the users need access to the flow for it to trigger when they delete?