cancel
Showing results for 
Search instead for 
Did you mean: 

Remove the 2mb limit for Convert File

Can the 2mb precondition limit be removed from the Convert File action?

 

 

{
  "status": 412,
  "message": "The html content length cannot be greater than 2 MB\nInnerExceptionMessage: \nStackTrace:    at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.ValidateLength(String htmlContent, Int64 maxLength) in C:\\agent\\1\\_work\\1\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 202\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.<>c__DisplayClass18_0.<Generate>b__0() in C:\\agent\\1\\_work\\1\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 120\r\n   at OneDrive.Media.Utilities.MemoryStreamHelper.ExecuteAndDisposeStreamIfErrorOccurs(Stream outputStream, Action method) in C:\\agent\\1\\_work\\1\\s\\Utilities\\MemoryStreamHelper.cs:line 58\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.Generate(String htmlContent, ConvertHtmlParameters parameters) in C:\\agent\\1\\_work\\1\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 114\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.<ConvertHtmlAsync>d__17.MoveNext() in C:\\agent\\1\\_work\\1\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 98\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.<ConvertWithinSandboxAsync>d__16.MoveNext() in C:\\agent\\1\\_work\\1\\s\\Transforms\\Rasterizers\\HtmlRasterizer.cs:line 83\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at OneDrive.Media.Utilities.Sandbox.SandboxService.<RunRequestAsync>d__1.MoveNext() in C:\\agent\\1\\_work\\1\\s\\Sandbox\\SandboxService.cs:line 55\n ThrowSite: ",
  "source": "api.connectorp.svc.ms"
}

 

Seems an odd limitation to impose

 

Posted as per the suggestion of @v-yamao-msft 

https://powerusers.microsoft.com/t5/Building-Flows/Convert-File-PreconditionFailed/m-p/177559/highli...

Status: New
Comments
Level: Powered On

It is an essential need for one of our projects at the company. Please change the limit to at least 50 MB !

Level 8

Agreed.  2Mb?  What year is it?

 

Wish this were getting more traction, it'd solve a big problem for me.

OSM
Level: Power Up

I also need a solution for this issue

Level: Powered On

2 MB in 2019 ...