web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "Get file Metadata usi...
Power Automate
Unanswered

"Get file Metadata using path" action failed but appears to have completed successfully

(0) ShareShare
ReportReport
Posted on by 4

I have a flow that occasionally reports failures, however the actions that failed appear to have completed successfully.  The flow is designed to get the item ID of a sharepoint file using the "get file metadata using path" action, and then it creates a sharing link using "Create sharing link for a file or folder" and posts the link in a Planner task using "Update task details"

 

Sometimes it reports the "Get file metadata" action fails, and no dependent actions succeeded, however the link is present in the planner task.  Is there a retry happening that causes this to complete successfully?  If so, how can I avoid this reporting a failure?

 

flow:

ddaughertypsfc_0-1625149366681.png

 

failure:

 

ddaughertypsfc_1-1625149437294.png

Planner task with link that was reported as failed:

 

ddaughertypsfc_2-1625149520322.png

 

 

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,939 Super User 2026 Season 1 on at

    Can you share the general flow. I see that there is an Apply to Each loop within which there is the "Get file metadata using path".

    ekarim2020_0-1625909805429.png

    The Apply to each seems to have executed twice, with the "Get file metadata using path" also running twice.

    So you are linking multiple SharePoint files to the task at the same time?

    Ellis

  • ddaughertypsfc Profile Picture
    4 on at

    Yes, exactly.  Multiple files can be submitted via MS Form, and the flow is linking all of them to the Planner Task.  The flow will occasionally return an error for one of the apply to each loops, but the file is successfully linked to the planner task as if there was no error.

     

    Below is the high-level view of the whole flow:

    ddaughertypsfc_0-1626100247237.png

     

  • Ellis Karim Profile Picture
    11,939 Super User 2026 Season 1 on at

    I see that there are quite a few Apply to Each loops in the flow (6!?)

    You should be able to reduce the number of Apply to Each loops. This will help simplify the flow, improve execution speed of the flow and help identify the problems with the flow.

     

    Are you able to share expanded screenshots of the flow?


    Ellis

  • ddaughertypsfc Profile Picture
    4 on at

    Trying to reduce the number of loops may be possible. I will explore that.

     

    Sharing expanded screenshots of the entire flow would be like 30 screenshots, but I can share more detail around the action that is "failing."  This flow runs several times a week, and we only get this false positive failure about 1 per month. It just happened again today.

     

    Essentially, the files submitted on the form live on sharepoint online, and occasionally we get an error saying the file cannot but found. However, I can see the file was found and successfully linked to the planner task.

     

    ddaughertypsfc_0-1630518910561.png

    ddaughertypsfc_1-1630518984000.png

    ddaughertypsfc_2-1630519044896.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard