Assembler ddx issue "insertDocument" operation failed.
Hi everyone,
Using assembler service we are trying to merge two pdf’s. But we are facing the following issue:
com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "insertDocument" operation failed on "5-R-1229.pdf".
com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "insertDocument" operation failed on "9-A-1577.pdf".
Environment details - AEM 6.5 (On-Premise) Forms-add-on package (adobe-aemfd-win-pkg-6.0.640.zip), OSGI forms & output service.
The ddx we are using:
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="output.pdf">
<PDF source="5-R-1229.pdf"/>
<PDF source="9-A-1577.pdf"/>
</PDF>
</DDX>
Code snippet:


Can anyone please suggest why the pdf generation is failing and throwing the error as com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "insertDocument" operation failed on "5-R-1229.pdf".