# Bug Issue: 502 Error in https://api.pdfjs.express/xfdf/merge

**URL:** <https://pdfjs.community/t/bug-issue-502-error-in-https-api-pdfjs-express-xfdf-merge/2722>\
**Category:** Bug Reports\
**Tags:** pdfjs-express\
**Created:** [July 18, 2023, 2:31pm UTC](https://pdfjs.community/t/bug-issue-502-error-in-https-api-pdfjs-express-xfdf-merge/2722 "2023-07-18T14:31:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![devops1](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@devops1](https://pdfjs.community/u/devops1)\
**Post date:** [July 18, 2023, 2:31pm UTC](https://pdfjs.community/t/bug-issue-502-error-in-https-api-pdfjs-express-xfdf-merge/2722/1 "2023-07-18T14:31:58Z")

</div>

We have encountered a critical issue while using PDFJS Express, specifically in the [https://api.pdfjs.express/xfdf/merge](https://api.pdfjs.express/xfdf/merge) endpoint. Whenever we attempt to merge XFDF data using this API endpoint, we consistently receive a 502 error.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/6/612425cc4a2fc85c4e2d6cf5b8e942bdb4424b75.png)

---

<div class="post-metadata">

**Author:** ![greg](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@greg](https://pdfjs.community/u/greg)\
**Post date:** [July 18, 2023, 2:35pm UTC](https://pdfjs.community/t/bug-issue-502-error-in-https-api-pdfjs-express-xfdf-merge/2722/3 "2023-07-18T14:35:29Z")

</div>

getting same issue from last 2 days

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [July 18, 2023, 3:27pm UTC](https://pdfjs.community/t/bug-issue-502-error-in-https-api-pdfjs-express-xfdf-merge/2722/4 "2023-07-18T15:27:54Z")

</div>

Hello devops1,

We have found the source of the issue and resolved it. Let us know if this issue continues!

Best regards,  
Tyler

---

<div class="post-metadata">

**Author:** ![devops1](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@devops1](https://pdfjs.community/u/devops1)\
**Post date:** [July 18, 2023, 3:34pm UTC](https://pdfjs.community/t/bug-issue-502-error-in-https-api-pdfjs-express-xfdf-merge/2722/5 "2023-07-18T15:34:59Z")

</div>

We have verified the resolution. Thanks, Tyler and team.
