Skip to main content

Notifications

Power Automate - Building Flows
Answered

"Get file content using path" fails for Word PPT Excel but not PDF or Image

Like (0) ShareShare
ReportReport
Posted on 14 Jan 2025 19:27:18 by 17
Hello - I have a MS Group/Shared Form sending form attachments to my SharePoint site. Then a flow using "Get file content using path" to grab the attachments and email them. It works fine when retrieving files that are PDF and Image but not Word PPT or Excel. It returns an error of "File not found". Would it be something with the Parse JSON code?
 
{
  "type""array",
  "items": {
    "type""object",
    "properties": {
      "name": {
        "type""string"
      },
      "link": {
        "type""string"
      },
      "id": {
        "type""string"
      },
      "type": {},
      "size": {
        "type""integer"
      },
      "referenceId": {
        "type""string"
      },
      "driveId": {
        "type""string"
      },
      "status": {
        "type""integer"
      },
      "uploadSessionUrl": {}
    },
    "required": [
      "name",
      "link",
      "id",
      "type",
      "size",
      "referenceId",
      "driveId",
      "status",
      "uploadSessionUrl"
    ]
  }
}
  • Verified answer
    cwesthaven Profile Picture
    cwesthaven 17 on 14 Jan 2025 at 21:18:43
    "Get file content using path" fails for Word PPT Excel but not PDF or Image
    When I changed the File Path to this format, it worked. A blog post I followed was using the Link from the JSON code, which was creating the error. I found the answer on this post: https://community.powerplatform.com/forums/thread/details/?threadid=f3c632b7-132c-45ca-bbbf-56ae2c341b9f
     
  • Suggested answer
    aliahmadmalik Profile Picture
    aliahmadmalik 2 on 14 Jan 2025 at 19:45:21
    "Get file content using path" fails for Word PPT Excel but not PDF or Image
    Use Get file content instead of Get file content using path

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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,638

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,433

Leaderboard
Loading started