# Merging XFDF using the Express REST API length exceeded error

**URL:** <https://pdfjs.community/t/merging-xfdf-using-the-express-rest-api-length-exceeded-error/185>\
**Category:** Technical Support\
**Created:** [August 13, 2020, 5:07am UTC](https://pdfjs.community/t/merging-xfdf-using-the-express-rest-api-length-exceeded-error/185 "2020-08-13T05:07:42Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [August 18, 2020, 10:35pm UTC](https://pdfjs.community/t/merging-xfdf-using-the-express-rest-api-length-exceeded-error/185/6 "2020-08-18T22:35:12Z")

</div>

Hi,

This should work now. Our rendering engine (PDF.js) was not able to handle the annotations that we merged into the document, because they did not have a custom annotation appearance (most PDF readers support not have appearances). We have fixed the server to include these appearances, so the code you have above should work now.

Thanks,  
Logan

---

_[View the full topic](https://pdfjs.community/t/merging-xfdf-using-the-express-rest-api-length-exceeded-error/185)._
