cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Error from Office Service. Url=https://wordcs.officeapps.live.com/document/export/pdf HttpCode=BadRequest cert=subject:;thumbprint: ResponseHeaders=X-ErrorCode: WordCantOpenDocument X-ClientCorrelationId: 575c2898-0345-4de2-9c90-847469dd76e3 X-ServiceCorrelationId: 575c2898-0345-4de2-9c90-847469dd76

Hi,

 

I'm getting this error in my flow in the Onedrive connector- converting to PDF.

 

The flow was working fine before and I added another 'single line of text' field in my sharepoint document library and now I'm getting this error:

 

Error from Office Service. Url=https://wordcs.officeapps.live.com/document/export/pdf HttpCode=BadRequest cert=subject:;thumbprint: ResponseHeaders=X-ErrorCode: WordCantOpenDocument
X-ClientCorrelationId: 575c2898-0345-4de2-9c90-847469dd76e3
X-ServiceCorrelationId: 575c2898-0345-4de2-9c90-847469dd76e3
X-ErrorCategory: BadRequest
X-IsRetriable: False
X-ConversionTimeInMs: 109.3431
X-FileDownloadTimeInMs: 468.926
Cache-Control: private
Date: Mon, 28 Dec 2020 13:05:52 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET

 

DanielRK_2-1609162625785.png

 

 

DanielRK_3-1609162630861.png

 

 

Please help me.

 

Thank you.

 

Daniel

16 REPLIES 16
Anonymous
Not applicable

Hey,

I have the same Problem now, did you find any solution for this Problem?

 

Kind regards 

Kai

Anonymous
Not applicable

Hi Kai,

 

Yes I did manage to overcome this but it was a while ago. From memory I think I deleted the OneDrive connector, readded it and remapped the dynamic fields of the filename and the ID.

 

Let me know if this works please. 

 

Best of luck.

 

Regards,

 

Dan

Anonymous
Not applicable

Sorry, I forget to answer, yes it worked, thanks for your help

PaulD1
Community Champion
Community Champion

I see this error from time-to-time on a flow we have that is using the OD4B Convert to PDF action. The Flow runs about 10 times per day and we see this error perhaps once every couple of months. Resubmitting the Flow (with the exact parameters/data) results in the Flow completing without error, so it seems this error can just intermittently occur sometimes.

I was able to resolve this as well using the steps provided, I removed all onedrive connector then recreate it and also found out that there were two onedrive connector being used by my flow.  Thank you!

Hi all, 

 

I've just started having issues with this after successfully running this flow for 12 months, and can't seem to fix it.

 

I have removed and reconnected the connectors in the flow, and have redone the whole flow from the start with no success.
When I manually check the .docx file before converting an error pops up advising content cannot be retrieved, then when I click 'yes' to move forwards it opens the doc, but no filename is attached and it has to be saved again.

Please advise if you see anything I'm missing as I'm not super savvy with this!

 

Cheers, Nikola

Nikola2_0-1653018874333.png

 

Nikola2_1-1653018959787.png

 

Anonymous
Not applicable

Hi @Nikola2 ,

 

In the create file action, do you have the file extension at the end of the file name?

 

For example if it's a word doc have- filename.docx

 

Also, do you have the create file id property mapped into the first convert file property?

 

Regards,

 

Daniel

Hi @Daniel ,

 

Thanks for your response 🙂

Yes, I've got the .docx extension at the end of the filename:

Nikola2_0-1653031382741.png

This is how I've mapped into the convert file space:

Nikola2_1-1653031453862.png

Please let me know if you see anything that may be incorrect.
My next step is going to be trying to break this one flow into a couple of smaller flows, as I've been advised that something a bit of time is needed between creating the .docx and then trying to convert to pdf.

 

Cheers, your help is very much appreciated 🙂

Anonymous
Not applicable

Hi @Nikola2 ,

 

No problem! 

 

What is in the value of the 'Outputs' that you're referencing in your Onedrive 'Create file' action in the File Name property?

 

There shouldn't be any characters that are operators such as +,-,?,# or any others that aren't allowed in naming files.

 

See more here:

Restrictions and limitations in OneDrive and SharePoint (microsoft.com)

 

 

I used the 'Name' property from the SP 'Create file' action to map to 'File Name' of the Onedrive 'Create File' action (since I also had the file extension in the SP name is is not necessary to repeat it in the Ondrive file name after the SP name data point)

 

Also the 'file content' property in the Ondrive create file action has 'body' as the data point that is mapped there. It should be 'file content' from your get file content sharepoint action. 

 

Sometime Power Automate changes it to body even when it is file content.

 

Please can you confirm the above?

 

Thank you.

 

Regards,

 

Daniel

Hi Daniel,

 

Thanks for the advice, I did have incorrect characters in Outputs but have updated them and the mapping you recommended.. Unfortunately still getting the error! I've got screenshots below of nearly the whole flow to see if maybe you're able to take on more look and see if I've messed up somewhere else?

 

Nikola2_0-1653215421010.png

Nikola2_2-1653215460679.png

Nikola2_3-1653215491700.png

I'm still getting this error at Convert File point:

Nikola2_4-1653215606512.png

 

Error Details:

Error from Office Service. Url=https://wordcs.officeapps.live.com/document/export/pdf HttpCode=BadRequest cert=subject:;thumbprint: ResponseHeaders=X-ErrorCode: WordCantOpenDocument
X-ClientCorrelationId: 6bdf2ce9-e3bd-47d0-b95e-6d0341585a8d
X-ServiceCorrelationId: 6bdf2ce9-e3bd-47d0-b95e-6d0341585a8d
X-ErrorCategory: BadRequest
X-IsRetriable: False
X-ConversionTimeInMs: 343.7485
X-FileDownloadTimeInMs: 390.6131
Cache-Control: private
Date: Sun, 22 May 2022 10:33:04 GMT
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET

 

Thank you for your help so far!

Cheers,

Nikola

Anonymous
Not applicable

Hi @Nikola2 ,

 

It's a pleasure.

 

The value mapped to the file Identifier column (in the 'get file content 2' action) should be 'Identifier' from the 'update file properties' action like so:

 

DanielRK_0-1653304832380.png

Please try again and let me know.

 

Regards,

 

Daniel

Hi Daniel,

Thanks, I adjusted this but still had the error.

 

I have now managed to fix it though, and it seems the issue went back further than the flow - I had to completely recreate the document/template I was using and re-add in the quickparts that were correlating with the Form responses.

 

It's now run the flow perfectly, so I think that another solution to this issue for anyone else is to recreate the template/doc that needs to be converted in case the erroring one has a bug. I should have tried this sooner, really.

 

Thank you again for all your help! 🙂

 

Cheers, Nikola

Anonymous
Not applicable

Hi @Nikola2 ,

 

Well done! I'm happy you managed to identify the problem and that's for posting back to the community so others can benefit.

 

Good luck and enjoy the rest of your week.

 

Regards,

 

Daniel

Anonymous
Not applicable

someone please help me on this...

vgreyes
Regular Visitor

I received this same error. Our use case was that we used an initial flow to generate the initial Word document from a template using a handful of quick part fields and then made some manual modifications to the generated Word document before running it through a second flow to convert it to PDF. We have done this plenty of times before and even within the last few days using both of these existing flows.

 

When attempting to open the Word document that was to be used for conversion to PDF, there was a read error from Word (see attached image). I ended up creating the manual edits again on the generated Word document and can only assume that something with the first set of manual adjustments created some kind of read error related to the quick part fields we were using. Once I made the adjustments to those specific fields and ran the conversion flow again, there were no errors. So, my best suggestion would be to walk backwards through your steps to check your Word document because it may not be the flow that broke, but rather the input file that is causing the issue.

gabismacedo
Frequent Visitor

Hello I had the same problem and it worked for me to delete the connection, I did it as follows: connections > delete

gabismacedo_0-1714487678533.png

gabismacedo_5-1714487814444.png

 

in the same connection tab I clicked on "new connection" and created a new one

gabismacedo_2-1714487727773.pnggabismacedo_3-1714487737686.png

I went back to my stream and clicked on "add new connection"

gabismacedo_4-1714487767071.png

this way it worked for me.

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (743)