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 Apps / convert file to PDF fa...
Power Apps
Unanswered

convert file to PDF failed error 406 "we dont support the language error message

(0) ShareShare
ReportReport
Posted on by 93

We don't support the language present in the file.
InnerExceptionMessage:
StackTrace: at OneDrive.Media.Transforms.Rasterizers.HtmlToPdfConverter.ThrowIfLanguageIsNotSupported(String message) in C:\agent\1\_work\12\s\Transforms\PdfConverters\HtmlToPdfConverter.cs:line 102
at OneDrive.Media.Transforms.Rasterizers.HtmlToPdfConverter.<>c__DisplayClass12_1.<GenerateStream>b__1() in C:\agent\1\_work\12\s\Transforms\PdfConverters\HtmlToPdfConverter.cs:line 76
at OneDrive.Media.Utilities.MemoryStreamHelper.ExecuteAndDisposeStreamIfErrorOccurs(Stream outputStream, Action method) in C:\agent\1\_work\12\s\Utilities\MemoryStreamHelper.cs:line 63
at OneDrive.Media.Transforms.Rasterizers.HtmlToPdfConverter.<>c__DisplayClass12_0.<GenerateStream>b__0() in C:\agent\1\_work\12\s\Transforms\PdfConverters\HtmlToPdfConverter.cs:line 94
at OneDrive.Media.Transforms.Rasterizers.HtmlRasterizer.ExecuteMethod(Func`1 method) in C:\agent\1\_work\12\s\Transforms\Rasterizers\HtmlRasterizer.cs:line 103
at OneDrive.Media.Transforms.Rasterizers.HtmlToPdfConverter.<GeneratePdf>d__11.MoveNext() in C:\agent\1\_work\12\s\Transforms\PdfConverters\HtmlToPdfConverter.cs:line 55
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at OneDrive.Media.Utilities.Sandbox.SandboxService.<RunRequestAsync>d__1.MoveNext() in C:\agent\1\_work\12\s\Sandbox\SandboxService.cs:line 68
ThrowSite:

 

 

HTML file its name from current time

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @warsongg00 

    I am sorry but I don't understand.  Is this a PowerApps question or a Flow question?  From what I know PowerApps cannot print to file natively.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • warsongg00 Profile Picture
    93 on at

    This is flow question sorry

  • mdevaney Profile Picture
    29,989 Moderator on at
    @warsong00
    No problem at all. Suggest you post it in the Flow forum since their members are most likely to have encountered the error.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard