Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Error 400: There was an error accessing the file - Convert Word Document

(0) ShareShare
ReportReport
Posted on by 67

Please note the duplicate topic of this does not solve my problem.  

 

I have a flow (manually triggered right now) to generate a word document with repeating rows and then converting to a pdf.  I can see in the failed details that the flow is grabbing the data needed to generate the repeating rows and that the word document itself is getting generated.  However flow is failing when converting that word doc to a pdf.  

 

I am getting this error when trying open the Word Doc.

SampleDetailsErrorWordDoc.PNG

 

 

 

 

 

 

 

 

 

Here is my flow:

SampleDetailsErrorWordDocFlow.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I tested this by using only content control for the Input of the manual trigger and it did work fine.  However once I added the table and content controls for the repeating sections it has started to fail.

 

Here is what the template looks like:

SampleDetailsErrorWordDocTemplate.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

On the first try I inputted 56 and "000005" did change to 56 and the entire flow ran I had produced the pdf doc.  As I said inserting the table and the content controls (both repeating rows and plain text control) it has since stopped working the the error above.  

 

Any help is greatly appreciated.

 

 

EDIT**************************  I deleted the repeating rows out of the template and refreshed my flow.  The flow works now.  So the issue lies with the repeating rows.

 

EDIT2************************  I must have messed up when selecting the part of the table that would be repeating.  I have since added the table back and selected it a different way (i highlight the content by clicking and dragging my mouse, the first time i clicked on the very left of the row).  It now works.

  • michael_kain Profile Picture
    michael_kain 2 on at
    Re: Error 400: There was an error accessing the file - Convert Word Document

    ?

  • Verified answer
    rmanthey Profile Picture
    rmanthey 67 on at
    Re: Error 400: There was an error accessing the file - Convert Word Document

    Only replying to say see edits in original message

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics