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 / SharePoint Get File Co...
Power Automate
Answered

SharePoint Get File Content Bad Request

(0) ShareShare
ReportReport
Posted on by 5
Hi all, 

I am very new to Power Automate Desktop, so hopefully this is an easy question. 

I have tried this flow on my personal machine on a different account to test while I was away from my work computer, and everything worked fine. 


I am working on building a flow that automatically grabs a pdf file on SharePoint and prints that file. On my work computer, the Get file content (SharePoint connection) is throwing an error (at end of post due to size). I have gone through and verified that the connected account (in connection and logged into PAD) is a member of that site and that the link to that file is correct (with included variables for file location). I have also gone through and updated my DLP policies to work for PAD and all relevant actions. 

Like I said, this worked fine on my test computer, but in my company's tenant and work account it throws this error. Thanks

Removed Correlation ID due to possible confidential information. 

Additional info:
{
  "StatusCode": "400",
  "Message": "",
  "Body": {
    "status": 400.0,
    "message": "Route did not match\r\nclientRequestId: c25a76de-b8ed-4efd-81ca-600a107f66bc,306dae4e-d331-4d9e-b8a5-babb8d6c66a1\r\nserviceRequestId: 18205ca1-d03c-6000-a837-30770278539e"
  },

Removed Headers due to confidential information. Let me know if any of that is relevant. 

I have the same question (0)
  • Verified answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2026 Season 1 on at
    Hey Hi,
     
    Try with Get file content using Path action instead on Get file content action as shown below.
     
     
    If the doesnt work please create a new flow by diabling Power FX option.As i can you creating a flow with Power Fx Enabled.Please diable the Power Fx as shown in below as Power Fx is still in preview state.
     
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
    Thanks & Regards
    Vishnu Reddy

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 957

#2
Valantis Profile Picture

Valantis 847

#3
Haque Profile Picture

Haque 609

Last 30 days Overall leaderboard