Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Get File Content in Sharepoint returning no output

(0) ShareShare
ReportReport
Posted on by

Hi I am trying to retrieve a Json file from SharePoint and parse it and then do some additional transformation. But the flow is returning zero value. I don't understand why. If you look at the Parse Json, there is zero value for the output but when you click download, it does show up.


I have provided some image of the flow including the ouput, schema and code as well. Please let me know what I am doing wrong. Thank you in advance.

dataYoda74_0-1718229870120.png

 


dataYoda74_0-1718226216692.png

 

dataYoda74_1-1718226543305.png

dataYoda74_2-1718226573127.png

 

dataYoda74_3-1718226589124.png

 

 

  • v-yueyun-msft Profile Picture
    on at
    Re: Get File Content in Sharepoint returning no output

    Hi , @dataYoda74 

    If you want to use the parse json after the "Get file content" action, you need to make the return to an array like this:

    vyueyunmsft_0-1718241743935.png

    outputs('Get_file_content')?['body']
     
     
    And in my thought , you may do not need to use the Parse json action, if you want to get the content-type , you can use this expression:
    outputs('Get_file_content')?['body']?['$content-type']
     
    if you want to get the content , you can use this expression:
    outputs('Get_file_content')?['body']?['$content']
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492