Notifications
Announcements
I am getting this error and have tried as many provided work arounds in other similar chats as I can, but none of them are working. I've recreated the flow from the start with no change, and have tried convert from path as well - still errors. Please let me know if you can see anything that will help - the flow is taking responses from MS Form, putting them into a Word template with quickparts, saving then converting to PDF and emailing to the responder. I have been using this flow for years with occasional kinks when something in PowerAutomate updates/changes, but am at a loss for how to fix.
This is where I get the below error:
OUTPUTS
Hey @Nikola2, I think there is no need to do explicitly use the convert step, as you are already using a populate word document action. See my flow below in which I am doing a similar thing I am just saving it in a SharePoint folder.
in your case it will be like this
this will automatically convert the word to PDF if this is not working you can get the document body convert it from Binary to base 64 string and use it in the content that will 100% convert your file to PDFHope this helps!
I have solved your problem, please give me a thumbs up and mark this as solved.
Hi @Nikola2 ,
The above solution doesn't work I tried it myself on my flow it generates the document but the document gives errors.Instead of using file path in your convert PDF stage try using file ID see the screenshot below and blog link forreference
Blog link - https://meganvwalker.com/generating-invoices-to-display-in-dynamics-365-portal/
Hope this helps!
Hi @ViditGholam thanks for the advice.I did try removing the OneDrive convert actions and you're right, it wouldn't open the PDF due to errors. I then tried changing the convert file path to using ID rather than path as suggested, still didn't work but I got a different error to last time:
The file conversion is of .docx to .pdf so unsure why, any advice?
Create File 2 - RAW Outputs:
Convert File - RAW Inputs:
Hi @Nikola2,
I think you are doing it incorrectly; the error says input format is not support. can you the screenshots of your entire flow?
Hi @ViditGholam , sure thing here are all the images. I've been using this flow successfully for 3 years now haha. Very frustrating when I have to create a new one for a new form/event and this happens!
I think you need to pass document type here it should ne {Name}.docx
Thanks so much @ViditGholam , that worked and everything ran properly - I feel a bit silly now as I should have tried that in troubleshooting!Cheers 🙂
Hi @Nikola2
Happy to help!One more tip instead of creating a file in SharePoint first and then updating it you can just create a word template. and then use populate word document and save it directly to one drive and then convert it, this currently flow will bloat your storage as you are storing the same file twice.
Thanks @ViditGholam , great point I'll look into that!
Cheers 🙂
I'm trying to build a simple flow that automatically converts a docx file saved in a folder in my Onedrive into a PDF and save it in a Sharepoint location, but I keep getting an error message at the conversion step.
Error from Office Service. Url=https://wordcs.officeapps.live.com/document/export/pdf HttpCode=NotFound cert=subject:;thumbprint: ResponseHeaders=Connection: closeDate: Mon, 04 Mar 2024 22:49:12 GMTServer: Microsoft-IIS/10.0X-Powered-By: ASP.NET
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 538 Super User 2025 Season 2
Tomac 405 Moderator
abm abm 252 Most Valuable Professional