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 / Power Automate - Get F...
Power Automate
Unanswered

Power Automate - Get File Content Failing when file not available

(0) ShareShare
ReportReport
Posted on by 2

I have a Power Automate Flow which runs on daily basis getting the data from Power BI,
converts first to CSV and then converts this CSV file to Excel.
Though it runs on daily basis, it is not required that the data will be available on daily basis.
So, when the data is not available , the get file content fails.
The flow should pass when the data is not available.
Any condition could be applied before Get File Content?

Power Automate Error.PNG
Categories:
  • ishwariya Profile Picture
    2 on at

    @AlexEncodian Thanks Alex. I tried to use the 'Get file Properties' but its not working. When the flow is not getting the file content (the file content input is from "create csv file") and if csv file is not generated (it might happen as per our requirement if data is not available for the current day) , the get file content runs infinitiely and I have to cancel the flow. I am new to Power automate and I created this entire flow based on this video:

     Any help would be much appreciated.

    CSV to Excel Power Automate and Office Scripts Any File Encoding - Free | Fast | Easy - YouTube

     

    Power automate.PNG

  • AlexEncodian Profile Picture
    4,409 Moderator on at

    @ishwariya 

    You have to check if the file exists before getting the file content.

     

    But I still don't understand why the file would ever not exist if you've just created it yourself.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard