Hi Plumsail team and community,
We're hitting two related, reproducible issues with Apply DOCX Template (operationId FlowV1DocumentsJobsApplyDocxTemplatePost) in the Plumsail Documents Power Automate connector. Sharing here in case anyone else is seeing the same and to flag it for the dev team.
Issue 1: Generated DOCX is schema-invalid OOXML
Word opens any DOCX produced by Apply DOCX Template with the dialog:
Word found unreadable content. Do you want to recover the contents of this document? If you trust the source, click Yes.
Microsoft's official Open XML SDK Validator (DocumentFormat.OpenXml.Validation.OpenXmlValidator) reports 30+ schema violations on the same file. Unique error types:
<w:tblLook>carriesfirstRow,lastRow,firstColumn,lastColumn,noHBand,noVBandas namespaceless attributes — they must be in thew:namespace.-
<w:document>root hasIgnorable="w14 wp14"but does not declarexmlns:w14/xmlns:wp14.
-
<w:tcBorders>contains<w:left>(rejected by strict OOXML —<w:start>/<w:end>expected).
-
- Misplaced
<w:pBdr>and<w:tcBorders>placement violations.
These violations are present in fresh and historical files alike — going back at least a year. Newer Office builds appear stricter and now surface the recovery dialog where older builds silently auto-repaired.
- Misplaced
Issue 2: All PDF actions fail with "file is broken"
Three separate operations in the connector return the same error when handed our DOCX (the same file Word eventually opens after recovery):
FlowV1DocumentsJobsApplyDocxTemplatePostwithrequest/outputType = "PDF"-
FlowV1DocumentsJobsDocx2PdfPost(Convert DOCX to PDF — deprecated)
-
FlowV1DocumentsJobsAny2PdfV2Post(Convert to PDF)
Each returns:
HTTP 400
{
"error": {
"code": "ApplicationResultException",
"message": "The file is broken: The file appears to be corrupt..."
}
}
Microsoft's own PDF conversion (Graph /drives/{id}/items/{id}/content?format=pdf) ALSO rejects the same DOCX with OfficeConversion_ContentNotSupported, suggesting the upstream DOCX is the actual culprit, not your PDF engine alone. Once we round-trip the document through LibreOffice headless (which silently fixes the schema violations on save), all three PDF actions succeed.
Sample trace IDs (latest first)
D0265F42C379AB4AB252B-
42C979F4F09D24449A7EC
-
166031192BE9BF48AD12A
-
7BB77D1F1615F745BFBBE
-
D375A28E8D95EE4597979
(All from Apr 29, UTC)
Reference to past similar case
This looks similar to Getting ApplicationResultException in Fill in PDF Form in power automate — Aleksandra confirmed it was a backend issue and the dev team fixed it without any user changes. May be a regression of the same kind.
Environment
- Tenant: vicomplus541.onmicrosoft.com
-
- Connector: shared_plumsail (Plumsail Documents)
-
- Power Automate region: westeurope, runtime europe-002
-
- Use case: WorkOrder service report flow producing both DOCX and PDF copies for engineers in our service business
Ask
- Can the OOXML schema compliance of
Apply DOCX Templateoutput be fixed (tblLooknamespace,Ignorablenamespaces,tcBorderschildren)? -
- Once that is in, the PDF conversion actions should succeed too — could you confirm?
For now we're using a LibreOffice-based workaround in front of the PDF actions, but it'd be great to retire that once Plumsail handles its own output cleanly. Even just confirming that schema-invalidity is the known root cause would help us decide whether to wait or keep the workaround.
- Once that is in, the PDF conversion actions should succeed too — could you confirm?
Thanks!