Skip to main content
Community site session details

Community site session details

Session Id : wyKnpJrG6CnV0PrvucJ7ZJ
Power Automate - Building Flows
Unanswered

Problem with Flow - Send HTTP Request to SharePoint - Get Function

Like (0) ShareShare
ReportReport
Posted on 8 Jul 2023 16:26:24 by 20

 

Hello Everyone,

 

I am building a flow which is connected with PowerApps. I am trying to get file information from SharePoint File Document Library. The idea is that the file ID (ItemID) is fed into the flow from PowerApps, and the flow is supposed to retrieve the file info. 

 

Now I have two files in the document library, as show below. One files ID number is 1 and the other one is 2, I have verified it. 

sikuness_0-1688833378477.png

When the ID number "1" is sent from PowerApps into Power Automate, it works just fine and it pulls data. 

sikuness_1-1688833460582.png

 

But when I send the number 2 from PowerApps into Power Automate, it gives me an error. Stating that the file is not found. 

sikuness_2-1688833527143.png

 

I have no idea what is the problem, any help will be greatly appreciated. 

 

 

 

  • sikuness Profile Picture
    20 on 10 Jul 2023 at 11:51:04
    Re: Problem with Flow - Send HTTP Request to SharePoint - Get Function

    Hi Pstork1,

     

    I created a flow, where I can enter the FileID number manually and try to get the file. And it works, SS below:

     

    sikuness_1-1688989854596.png

     

  • sikuness Profile Picture
    20 on 10 Jul 2023 at 11:49:08
    Re: Problem with Flow - Send HTTP Request to SharePoint - Get Function

    Hi Happyume,

     

    When I copy paste the link, it works, I get this:

     

    sikuness_0-1688989742049.png

     

  • Pstork1 Profile Picture
    67,209 Most Valuable Professional on 08 Jul 2023 at 17:15:56
    Re: Problem with Flow - Send HTTP Request to SharePoint - Get Function

    Did you double check that the item id for the second file is actually 2?  SharePoint doesn't reuse ID numbers so if file 2 was created and then deleted and then recreated it would be a different ID.  Add ID to the view in SharePoint and verify the actual ID numbers.

  • Mitanshu Profile Picture
    1,635 Moderator on 08 Jul 2023 at 16:58:21
    Re: Problem with Flow - Send HTTP Request to SharePoint - Get Function

    The first thing to try will be going to 

     

    https://aris.sharepoint.com/sites/IODS_Project/_api/web/lists/GetByTitle('IODS_Jobs_Master_File')/Items(2)

     

     and providing what output do you get? 

     

    For SharePoint Lists, you should get an XML output starting like:

     

    <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://aris.sharepoint.com/sites/IODS_Project/_api/" xmlns="http://www.w3.org/2005/Atom"

     

     

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Loading complete