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.

Newbie_16
Helper I
Helper I

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!

Nikola2
Helper I
Helper I

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

Nikola2
Helper I
Helper I

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

Nikola2
Helper I
Helper I

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

Nikola2
Helper I
Helper I

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
Regular 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

Win free tickets to the Power Platform Conference | Summer of Solutions

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**

Celebrating the June Super User of the Month: Markus Franz

Markus Franz is a phenomenal contributor to the Power Apps Community. Super Users like Markus inspire others through their example, encouragement, and active participation.    The Why: "I do this to help others achieve what they are trying to do. As a total beginner back then without IT background I know how overwhelming things can be, so I decided to jump in and help others. I also do this to keep progressing and learning myself." Thank you, Markus Franz, for your outstanding work! Keep inspiring others and making a difference in the community! 🎉  Keep up the fantastic work! 👏👏 Markus Franz | LinkedIn  Power Apps: mmbr1606  

Copilot Cookbook Challenge | Week 1 Results | Win Tickets to the Power Platform Conference

We are excited to announce the "The Copilot Cookbook Community Challenge is a great way to showcase your creativity and connect with others. Plus, you could win tickets to the Power Platform Community Conference in Las Vegas in September 2024 as an amazing bonus.   Two ways to enter: 1. Copilot Studio Cookbook Gallery:  https://aka.ms/CS_Copilot_Cookbook_Challenge 2. Power Apps Copilot Cookbook Gallery: https://aka.ms/PA_Copilot_Cookbook_Challenge   There will be 5 chances to qualify for the final drawing: Early Bird Entries: March 1 - June 2Week 1: June 3 - June 9Week 2: June 10 - June 16Week 3: June 17 - June 23Week 4: June 24 - June 30     At the end of each week, we will draw 5 random names from every user who has posted a qualifying Copilot Studio template, sample or demo in the Copilot Studio Cookbook or a qualifying Power Apps Copilot sample or demo in the Power Apps Copilot Cookbook. Users who are not drawn in a given week will be added to the pool for the next week. Users can qualify more than once, but no more than once per week. Four winners will be drawn at random from the total qualifying entrants. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once. If they are drawn multiple times, another user will be drawn at random. Prizes:  One Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value, does not include travel, lodging, or any other expenses) Winners are also eligible to do a 10-minute presentation of their demo or solution in a community solutions showcase at the event. To qualify for the drawing, templates, samples or demos must be related to Copilot Studio or a Copilot feature of Power Apps, Power Automate, or Power Pages, and must demonstrate or solve a complete unique and useful business or technical problem. Power Automate and Power Pagers posts should be added to the Power Apps Cookbook. Final determination of qualifying entries is at the sole discretion of Microsoft. Weekly updates and the Final random winners will be posted in the News & Announcements section in the communities on July 29th, 2024. Did you submit entries early?  Early Bird Entries March 1 - June 2:  If you posted something in the "early bird" time frame complete this form: https://aka.ms/Copilot_Challenge_EarlyBirds if you would like to be entered in the 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. Copilot Cookbook Gallery:Power Apps Cookbook Gallery:1.  @Mathieu_Paris 1.   @SpongYe 2.  @Dhanush 2.   @Deenuji 3.  n/a3.   @Nived_Nambiar  4.  n/a4.   @ManishSolanki 5.  n/a5.    n/a

Your Moment to Shine: 2024 PPCC’s Got Power Awards Show

For the third year, we invite you, our talented community members, to participate in the grand 2024 Power Platform Community Conference's Got Power Awards. This event is your opportunity to showcase solutions that make a significant business impact, highlight extensive use of Power Platform products, demonstrate good governance, or tell an inspirational story. Share your success stories, inspire your peers, and show off some hidden talents.  This is your time to shine and bring your creations into the spotlight!  Make your mark, inspire others and leave a lasting impression. Sign up today for a chance to showcase your solution and win the coveted 2024 PPCC’s Got Power Award. This year we have three categories for you to participate in: Technical Solution Demo, Storytelling, and Hidden Talent.      The Technical solution demo category showcases your applications, automated workflows, copilot agentic experiences, web pages, AI capabilities, dashboards, and/or more. We want to see your most impactful Power Platform solutions!  The Storytelling category is where you can share your inspiring story, and the Hidden Talent category is where your talents (such as singing, dancing, jump roping, etc.) can shine! Submission Details:  Fill out the submission form https://aka.ms/PPCCGotPowerSignup by July 12th with details and a 2–5-minute video showcasing your Solution impact. (Please let us know you're coming to PPCC, too!)After review by a panel of Microsoft judges, the top storytellers will be invited to present a virtual demo presentation to the judges during early August. You’ll be notified soon after if you have been selected as a finalist to share your story live at PPCC’s Got Power!  The live show will feature the solution demos and storytelling talents of the top contestants, winner announcements, and the opportunity to network with your community.  It's not just a showcase for technical talent and storytelling showmanship, show it's a golden opportunity to make connections and celebrate our Community together! Let's make this a memorable event! See you there!   Mark your calendars! Date and Time: Thursday, Sept 19th Location: PPCC24 at the MGM Grand, Las Vegas, NV 

Tuesday Tip | Accepting Solutions

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   To enhance our collaborative environment, it's important to acknowledge when your question has been answered satisfactorily. Here's a quick guide on how to accept a solution to your questions: Find the Helpful Reply: Navigate to the reply that has effectively answered your question.Accept as Solution: Look for the "Accept as Solution" button or link, usually located at the bottom of the reply.Confirm Your Selection: Clicking this button may prompt you for confirmation. Go ahead and confirm that this is indeed the solution.Acknowledgment: Once accepted, the reply will be highlighted, and the original post will be marked as "Solved". This helps other community members find the same solution quickly. By marking a reply as an accepted solution, you not only thank the person who helped you but also make it easier for others with similar questions to find answers. Let's continue to support each other by recognizing helpful contributions. 

Reminder: To register for the Community Ambassador Call on June 13th

Calling all Super Users & User Group Leaders   Reminder: To register for the Community Ambassador Call on June 13th—for an exclusive event for User Group Leaders and Super Users! This month is packed with exciting updates and activities within our community.   What's Happening: Community Updates: We'll share the latest developments and what's new in our vibrant community.Special Guest Speaker: Get ready for an insightful talk and live demo of Microsoft Copilot Studio templates by our special guest.Regular Updates: Stay informed with our routine updates for User Groups and Super Users.Community Insights: We'll provide general information about ongoing and upcoming community initiatives. Don't Miss Out: Register Now: Choose the session that fits your schedule best.Check your private messages or Super User Forum for registration links. We're excited to connect with you and continue building a stronger community together.   See you at the call!  

Users online (2,258)