web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get File Content in Sh...
Power Automate
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

 

 

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard