# Getting docx to pdf with Adobe Document Generation

**URL:** <https://discourse.nodered.org/t/getting-docx-to-pdf-with-adobe-document-generation/80591>\
**Category:** General\
**Tags:** http-request\
**Created:** [15 August 2023 21:26 UTC](https://discourse.nodered.org/t/getting-docx-to-pdf-with-adobe-document-generation/80591 "2023-08-15T21:26:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleyynademir](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@aleyynademir](https://discourse.nodered.org/u/aleyynademir)\
**Post date:** [15 August 2023 21:26 UTC](https://discourse.nodered.org/t/getting-docx-to-pdf-with-adobe-document-generation/80591/1 "2023-08-15T21:26:44Z")

</div>

Taking a json file from the company's environment, taking a template from the company's issues (docx) in the same way, merging them into pdf.  
I am trying to convert. First I get the token, then the AssetId is given to me when I try to open the file that came after the last document generation.  
{  
"error": {  
"code": "UNSUPPORTED\_OR\_CORRUPTED\_TEMPLATE",  
"message": "Either unsupported or corrupted file content provided. The only supported format is docx.; transactionId=TqF3ujeqcVhJzvAb0n4jbSNjaII3DaCj",  
"status": 400  
},  
"status": "failed"  
}  
Gives a fault. I looked at most things, I checked, but I couldn't find the error. I would appreciate it if you could help.  
 ![o1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/4/a471f1d1f8803b43ee76215951468588b0547e93.png)  
 ![o2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/2/d2a740e0957277d82a735425cb73b24013fed5a5.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 October 2023 21:27 UTC](https://discourse.nodered.org/t/getting-docx-to-pdf-with-adobe-document-generation/80591/2 "2023-10-14T21:27:06Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
