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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action 'Convert_file_u...
Power Automate
Answered

Action 'Convert_file_using_path' failed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi! I just want to know if someone else has encountered this kind of problem with their Power Automate. This was working until yesterday (I think). Thank you in advance!

 

Untitled.png

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you expand the actions and share a screenshot of the items/ values you have passed in the actions? Ensure that the file name being passed in the create file action has an appropriate extension. Also, confirm that the file content if being passed from Power Apps as a blob is wrapped under datauritobinary function. You might want to check this post to appropriately pass blob data from Power Apps to Flow: https://www.appliedis.com/newly-released-json-function-for-powerapps/ 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello, @yashag2255!

     

    Thank you for your response!

    Please see the screenshots below.

     

    Untitled.png

     

     

    Untitled2.png

     

    This was the error code in "Convert file using path". I've been using this flow for 8 months. The issue only happened yesterday. I wonder if it's because of a Microsoft update.

     

    {
    "error": {
    "code": 502,
    "source": "asia-001.azure-apim.net",
    "clientRequestId": "57f17f89-4b25-4180-b888-f85e473c5bab",
    "message": "BadGateway",
    "innerError": {
    "status": 502,
    "message": "Service Unavailable - <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> \n<html xmlns=\"http://www.w3.org/1999/xhtml\"> \n<head> \n<title>IIS 10.0 Detailed Error - 503.2 - Service Unavailable</title> \n<style type=\"text/css\"> \n<!-- \nbody{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;} \ncode{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} \n.config_source code{font-size:.8em;color:#000000;} \npre{margin:0;font-size:1.4em;word-wrap:break-word;} \nul,ol{margin:10px 0 10px 5px;} \nul.first,ol.first{margin-top:5px;} \nfieldset{padding:0 15px 10px 15px;word-break:break-all;} \n.summary-container fieldset{padding-bottom:5px;margin-top:4px;} \nlegend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} \nlegend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; \nfont-weight:bold;font-size:1em;} \na:link,a:visited{color:#007EFF;font-weight:bold;} \na:hover{text-decoration:none;} \nh1{font-size:2.4em;margin:0;color:#FFF;} \nh2{font-size:1.7em;margin:0;color:#CC0000;} \nh3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;} \nh4{font-size:1.2em;margin:10px 0 5px 0; \n}#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\",Verdana,sans-serif; \n color:#FFF;background-color:#5C87B2; \n}#content{margin:0 0 0 2%;position:relative;} \n.summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} \n.content-container p{margin:0 0 10px 0; \n}#details-left{width:35%;float:left;margin-right:2%; \n}#details-right{width:63%;float:left;overflow:hidden; \n}#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF; \n background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal; \n font-size:1em;color:#FFF;text-align:right; \n}#server_version p{margin:5px 0;} \ntable{margin:4px 0 4px 0;width:100%;border:none;} \ntd,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:normal;border:none;} \nth{width:30%;text-align:right;padding-right:2%;font-weight:bold;} \nthead th{background-color:#ebebeb;width:25%; \n}#details-right th{width:20%;} \ntable tr.alt td,table tr.alt th{} \n.highlight-code{color:#CC0000;font-weight:bold;font-style:italic;} \n.clear{clear:both;} \n.preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;} \n--> \n</style> \n \n</head> \n<body> \n<div id=\"content\"> \n<div class=\"content-container\"> \n <h3>HTTP Error 503.2 - Service Unavailable</h3> \n <h4>The serverRuntime@appConcurrentRequestLimit setting is being exceeded.</h4> \n</div> \n<div class=\"content-container\"> \n <fieldset><h4>Most likely causes:</h4> \n <ul> \t<li>Setting is too low.</li> \t<li>The application is taking too long for the current load.</li> </ul> \n </fieldset> \n</div> \n<div class=\"content-container\"> \n <fieldset><h4>Things you can try:</h4> \n <ul> \t<li>Try increasing the value of the setting.</li> \t<li>Check that external resources (for example, disk, database, etc..) are performing at expected levels.</li> \t<li>Check that the application has not deadlocked.</li> </ul> \n </fieldset> \n</div> \n \n<div class=\"content-container\"> \n <fieldset><h4>Detailed Error Information:</h4> \n <div id=\"details-left\"> \n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \n <tr class=\"alt\"><th>Module</th><td>&nbsp;&nbsp;&nbsp;IIS Web Core</td></tr> \n <tr><th>Notification</th><td>&nbsp;&nbsp;&nbsp;BeginRequest</td></tr> \n <tr class=\"alt\"><th>Handler</th><td>&nbsp;&nbsp;&nbsp;ExtensionlessUrlHandler-Integrated-4.0</td></tr> \n <tr><th>Error Code</th><td>&nbsp;&nbsp;&nbsp;0x00000000</td></tr> \n \n </table> \n </div> \n <div id=\"details-right\"> \n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> \n <tr class=\"alt\"><th>Requested URL</th><td>&nbsp;&nbsp;&nbsp;https://eastasia1-mediap.svc.ms:443/transform/pdf?provider=spo&amp;inputFormat=html&amp;cs=fFNQTw&amp;correlationId=57f17f89-4b25-4180-b888-f85e473c5bab&amp;docid=https:%2F%2Fmaximamachineriesphil-my.sharepoint.com%2F_api%2Fv2.0%2Fdrives%2Fb!1LxwTht_tkW3zxBSnu6W1H8OsEEZgkNKl3K9n9JEjX_NWYAR30y4RrPUWW6grr7b%2Fitems%2F01I345XQ3T4D5LA6X6IBAY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IjoiMCIsInVzZVBlcnNpc3RlbnRDb29raWUiOm51bGx9.bGJRNkw1cU9WaXBzaEROelgwMXc2MWM3dERJcTJRUElkQU1VcVRoMkEyQT0%26version%3DPublished</td></tr> \n <tr><th>Physical Path</th><td>&nbsp;&nbsp;&nbsp;E:\\sitesroot\\0\\transform\\pdf</td></tr> \n <tr class=\"alt\"><th>Logon Method</th><td>&nbsp;&nbsp;&nbsp;Not yet determined</td></tr> \n <tr><th>Logon User</th><td>&nbsp;&nbsp;&nbsp;Not yet determined</td></tr> \n <tr class=\"alt\"><th>Request Tracing Directory</th><td>&nbsp;&nbsp;&nbsp;C:\\Resources\\directory\\8806cf4f40664a628a03c8df273a8c75.MeTAServiceWebRole.DiagnosticStore\\FailedReqLogFiles\\MeTAService</td></tr> \n </table> \n <div class=\"clear\"></div> \n </div> \n </fieldset> \n</div> \n \n<div class=\"content-container\"> \n <fieldset><h4>More Information:</h4> \n IIS will not allow more concurrent requests to an application than the serverRuntime@appConcurrentRequestLimit setting permits. \n <p><a href=\"https://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=503,2,0x00000000,17763\">View more information &raquo;</a></p> \n \n </fieldset> \n</div> \n</div> \n</body> \n</html> \n",
    "source": "api.connectorp.svc.ms"
    }
    }
    }
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    I have a similar set up that works as expected. 

     

    In your create file 2 action, you might want to replace the file content with the output of the convert file using path action instead of the power apps action. 

     

    Regarding the failed action, can you navigate to the file created in onedrive and check if it is an appropriate html file that has been created? I believe there is some issue with the HTML in your file and that is causing the convert action to fail. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sir @yashag2255,

     

    Just checked the OneDrive path. The HTML files were there and I had no problems opening them.

    Again, no problems with this flow until yesterday.

     

    Thank you!

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you try the below config? Use the Convert file action instead of the Convert file using path? Just to check if the other is working fine?

    fd.PNG

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sir @yashag2255,

     

    I tried replacing the variable in Create File 2 with the output of Convert file action.

    It has been working so far. Hopefully, the error won't happen again.

     

    Thank you very much for your help!

  • Mystmuse Profile Picture
    2 on at

    Hello!

    Conversion to PDF also stopped working for me. Any ideas how to fix this?

    A couple of days ago everything worked and suddenly stopped. The conversion process is endless.

    Path conversion does not work.

    The first file is created on OneDrive without problems, but the conversion does not occur.1.PNG

     

    2.PNG

     

    3.PNG

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Mystmuse,

     

    That's exactly what happened to my Flow. I'm not really sure what fixed it lol.

    But here's what I did:

     

    1. Created a new OneDrive connection.

    2.  Instead of using "Ask in PowerApps" in Create File 2 action, I used the output of "Convert file using path".

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard