XFDF Merge Endpoint Giving 502 Bad Gateway

The XFDF Merge API is returning a 502 Bad Gateway error when attempting to merge certain PDFs. The PDF loads correctly in the PDF viewer without any issues, but the merge API fails when processing it.

Endpoint: https://api.pdfjs.express/xfdf/merge
HTTP Method: POST

Screenshot:

Attachment:
test.pdf (1.1 MB)

Hi there,

If you inspect the error in the network logs, there should be an error code returned. We have a guide on the error codes here:

If the error occur before the request, then could you share how you are using the merge API?

best regards,
Kevin