// Get the annotations and the documents data
var xfdf = await instance.annotManager.exportAnnotations({ links: false, widgets: false });
var fileData = await instance.docViewer.getDocument().getFileData({});
// Set the annotations and document into the Utility SDK, then merge them together
var resp = await utils.setFile(fileData).setXFDF(xfdf).merge();
// Get the resulting blob from the merge operation
var mergedBlob = await resp.getBlob();
This is my code to merge XFDF and file data
It’s work properly with small files but when I select large size file (19 MB) It is not working, throws an error.
I also tried with API which gives below error
Please Provide solution for this.