Skip to main content

Notifications

Power Pages - General Discussions
Unanswered

Power Automate file size limit for power pages

(0) ShareShare
ReportReport
Posted on by 18

I have a power automate that I am

calling from Powerpages (using JS). When I am trying to pass a file size more then 5 MB the power automate is throwing an error and doesn’t even invoke the power automate. 

does anyone encountered the same

issue? Any help is appreciated.

  • JanGenese Profile Picture
    JanGenese 14 on at
    Re: Power Automate file size limit for power pages

    Happening to me too. 

    Internal 500 at over 2MB

    In my case, the file not quite uploaded. on file input changed, it is Base64'd and sent to the flow for AI parsing. 

  • jhashwani Profile Picture
    jhashwani 18 on at
    Re: Power Automate file size limit for power pages
    Below is the error for your reference.
     
    <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
    <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
    <head>
    <title>We're sorry, but something went wrong (500)</title>
    <style type='text/css'>
    body {
    background-color: #fff;
    color: #333;
    text-align: center;
    font-family: arial, sans-serif;}
    div.dialog {
    width: 23em;
    padding: 0 4em;
    margin: 4em auto 0 auto;
    border: 1px solid #ccc;
    border-right-color: #999;
    border-bottom-color: #999;
    }
    h1 {
    font-size: 100%;
    color:#B30000;
    line-height: 1.5em;
    }
    .privateModeExceptionMessage {
    text-align: left;
    }
    </style>
    </head>
    <body>
    <script type="text/javascript">
    window['Microsoft'] = window['Microsoft'] || {};
    window['Microsoft'].Dynamic365 = {
    Portal: {
    User: {
    contactId: 'fcd603fa-af00-ef11-9f89-000d3aff053e'
    },
    version: '9.6.5.5',
    type: 'PowerPages_BlankTemplate',
    id: 'c3c734b3-a366-4755-b48c-6f0961141609',
    geo: 'CAN', 
    tenant: 'ef407553-8539-41da-a6a2-88195a2d053f', 
    correlationId: '4565a3a2-3af1-49d4-98df-69c296b8c124',
    isTelemetryEnabled: 'True',
    InstrumentationSettings: {
    instrumentationKey: '197418c5cb8c4426b201f9db2e87b914-87887378-2790-49b0-9295-51f43b6204b1-7172',
    },
    timerProfileForBatching: 'NEAR_REAL_TIME'
    }
    }
    </script>
    <script onerror="javascript&colon;&#32;var&#32;target&#32;=&#32;event.target;&#32;var&#32;script&#32;=&#32;document.createElement(&#39;script&#39;);&#32;script.crossOrigin&#32;=&#32;target.crossOrigin;&#32;script.src&#32;=&#32;&#39;/dist/client-telemetry.bundle-de96d9b841.js&#39;;&#32;script.type&#32;=&#32;&#39;text/javascript&#39;;&#32;target.insertAdjacentElement(&#39;afterend&#39;,script);" src="https://content.powerapps.com/resource/powerappsportal/dist/client-telemetry.bundle-de96d9b841.js" type="text/javascript"></script>
    <script onerror="javascript&colon;&#32;var&#32;target&#32;=&#32;event.target;&#32;var&#32;script&#32;=&#32;document.createElement(&#39;script&#39;);&#32;script.crossOrigin&#32;=&#32;target.crossOrigin;&#32;script.src&#32;=&#32;&#39;/dist/client-telemetry-wrapper.bundle-633e70f51b.js&#39;;&#32;script.type&#32;=&#32;&#39;text/javascript&#39;;&#32;target.insertAdjacentElement(&#39;afterend&#39;,script);" src="https://content.powerapps.com/resource/powerappsportal/dist/client-telemetry-wrapper.bundle-633e70f51b.js" type="text/javascript"></script>
     
    <script type="text/javascript">
    window.clientLogWrapper = new ClientLogWrapper();
    ClientLogWrapper.getLogger().traceServerError("Response Status Code: 500. Error: The view &#39;Error&#39; or its master was not found or no view engine supports the searched locations. The following locations were searched:
    ~/Areas/PowerAutomate/Views/PowerAutomate/Error.aspx
    ~/Areas/PowerAutomate/Views/PowerAutomate/Error.ascx
    ~/Areas/PowerAutomate/Views/Shared/Error.aspx
    ~/Areas/PowerAutomate/Views/Shared/Error.ascx
    ~/Views/PowerAutomate/Error.aspx
    ~/Views/PowerAutomate/Error.ascx
    ~/Views/Shared/Error.aspx
    ~/Views/Shared/Error.ascx
    ~/Areas/PowerAutomate/Views/PowerAutomate/Error.cshtml
    ~/Areas/PowerAutomate/Views/PowerAutomate/Error.vbhtml
    ~/Areas/PowerAutomate/Views/Shared/Error.cshtml
    ~/Areas/PowerAutomate/Views/Shared/Error.vbhtml
    ~/Views/PowerAutomate/Error.cshtml
    ~/Views/PowerAutomate/Error.vbhtml
    ~/Views/Shared/Error.cshtml
    ~/Views/Shared/Error.vbhtml. Inner exception: ", "Custom Error Page");
    </script>
     
     
     
    <div class='dialog' role='main'>
    <h1>We're sorry, but something went wrong. Please try again, and if this persists, contact the website administrator.</h1>
    <h1>Error ID # [4565a3a2-3af1-49d4-98df-69c296b8c124]</h1>
    <p>We've been notified about this issue and we'll take a look at it shortly. Thank you for your patience.</p>
    <p><small>2024-06-04 5:20:54 PM&nbsp;UTC<br/>CAN&nbsp;c3c734b3-a366-4755-b48c-6f0961141609</small></p>
    </div>
     
    </body>
    </html>
  • jhashwani Profile Picture
    jhashwani 18 on at
    Re: Power Automate file size limit for power pages

    So I raised a ticket with MSFT and they confirmed that they Power Pages trigger payload size is limited to 2MB which is really strange. I am not sure what thought process has went into it. They are going to work on it I guess however, not sure when are they thinking of fixing it.

  • domliu37 Profile Picture
    domliu37 314 on at
    Re: Power Automate file size limit for power pages

    Hi @jhashwani

     

    So you are uploading a ove 5mb file on Power Pages then received an error in the Power Automate? Can you share the error details? and where is the file saved when uploaded to the Power Pages?

     

    Cheers,

    Dom 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard