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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / OneDrive Get file cont...
Power Automate
Unanswered

OneDrive Get file content returns 404 not found

(1) ShareShare
ReportReport
Posted on by 85
Hello,
 
So I've had a perfectly running flow that takes attachments from MS Forms and attaches them to an approval. The flow was not used for a month or so but now I found out it always fails on retrieving the file with the OneDrive "Get file content" with an error 404 - The resource could not be found.
 
I'm grabbing the file ID with a JSON(get_details) and then putting this variable to the OneDrive Get File content. 
 
There were no changes to the flow and it worked before.
 
I have managed to find some discussion about 404 errors in browser window with OneDrive where MS employee acknowledged there's a bug but I'm not sure if that's the same issue.
 
Does anyone also experience this behaviour in Power Automate?
Categories:
I have the same question (2)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
    Hi
     
    No way we can tell you without seeing the flow. this seems more like venting than a help request.
     
    Yes onedrive and many others have been impacted lately
     
    As for you, you need to share the flow. then more, share a Flow Run, showing the inputs and outputs of all the actions, especially the one that failed.
    That will tell you the issue, or we can help you but need to see it first.
  • JanDras Profile Picture
    85 on at
    Hello @FLMike,
     
    My flow is triggered when a new answer to a form is submited. What doesn't work is getting the attachment from the form.
     
    I initialize a variable "varFile" and then I Use For All with JSON to convert the values to string and get back the ID of the file. Then I proceed to use the OneDrive Get File Content and Get File Metadata using this ID I've gotten. As I said. It worked, now it returns 404.
     
    The "For All" uses the JSON expression ,
    json(body('Získat_podrobnosti_o_odpovědi')?['rd4b61cde3cdf472f96b20c13c4ed18d9'])
     
    And the "Set varible" that's inside the For All sets the varibale "varFile"
    items('Použít_na_všechny')?['id']
    so it gets the ID of the attached file.
     
     
    The output is a correct file ID - output  of the varFile:
    01SQYYGJE3WEFORY2V5NE3GCS23ACR5Q6K
    Input for the Get File Content:
    01SQYYGJE3WEFORY2V5NE3GCS23ACR5Q6K
    Output of the Get file content:
    body:
    {
      "status": 404,
      "message": "The resource could not be found.",
      "source": "api.connectorp.svc.ms"
    }
     
     
    Looking forward for your assistance.
     
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard