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

(0) ShareShare
ReportReport
Posted on 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 at
    "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 at
    "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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard