cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mgie
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

Hi Kris,

I dont understand your answer.

this function was working great up until a week ago.

I've been using it for at least 2 month with no issue.

how come now I have to purchase a 3rd party tool beacuase Microsoft changed the function?

highly unaccaptable !

Please reply with a valid solution 

here is a screen shot of a working flow and then, out of the blue, start to fail!

flowmail.jpg

paul_culmsee
Level 8

Re: Error 406 NotAcceptable on Convert File Action

Also my client tenant uses DLP policies. For example I cannot access 3rd party application tabs to MS Teams and when I try and use Plumsail or Mohimbi PDF I get this type of meessage:

 

InvalidTemplate. Unable to process template language expressions in action 'Convert_HTML_to_PDF' inputs at line '1' and column '2336': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_muhimbi']['connectionId']' cannot be evaluated because property 'shared_muhimbi' doesn't exist, available properties are 'shared_sharepointonline, shared_onedriveforbusiness'. Please see https://aka.ms/logicexpressions for usage details.'.

 

I know this used to work - MVP John Liu first covered in a popular blog post.

 

http://johnliu.net/blog/2017/10/generate-any-pdf-documents-from-html-with-flow

 

So I do not think its true this is not supported.

 

regards

 

Paul

Highlighted
DuffmanA
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

Load of rubbish having to use a third party connector for functionlaity that was already present, just broken.

 

In the failure summary if you click on the support page link you can see that MS has acknowldege the issue and are working towards a fix.

 

Capture123.PNG

 

 

It would be useful to get an update as to when it may be resolved. And also which file types are allowed.

So docx works, but html does not. What else currently works ?

paul_culmsee
Level 8

Re: Error 406 NotAcceptable on Convert File Action

Not sure if this helps anyone, but if you really need this functionality, you can use the approaches I outline here...

 

http://www.cleverworkarounds.com/2018/03/09/three-ways-to-convert-html-to-pdf-using-microsoft-flow/

 

regards

 

Paul Culmsee

 

 

LozzieD
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

Can we get an update on when this will be fixed?

 

It doesn't even work converting .txt or .csv files.

Afifkr
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

the problem still not fixed,i am obliged to use some paid actions like plumsail!

cjhealy
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

I am still getting the 406 NotAcceptable error when trying to convert .csv files.

I opened a ticket with Microsoft, will update here with their response.

 

Does the action succeed when converting html to pdf? Might have to explore that option.

physics515
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

Anyone heard anything yet? I cannot convert .jpg to .pdf.  I swear it was working a few weeks ago.

Romansx
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

i had the same issue... in name of the new file created not only you should put the "name" also the format. in my case need to add ".html" to in consequence the next block of flow recognize the format and converts to pdf. then you need to create another file with te content of the previous block and the name of it must ends with, in my case ".pdf"... There was the error for me and works fine now...
chucksteel
Level: Powered On

Re: Error 406 NotAcceptable on Convert File Action

I'm still getting the 406 error and my file ends with .html. Has anyone else had sucess?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 148 members 3,655 guests
Please welcome our newest community members: