Struggling to merge two PPTX files, getting error

I am trying to do a simple merge of two PPTX files using the nodejs SDK, but I am getting the error when executing:

“Error: {“message”:“The type initializer for ‘\u000e\u000f\u0019\u0005’ threw an exception.”,“code”:“internalError”}”

My code:

const documentApi = DocumentApi.fromKeys(appSid, appKey);

    let item1 = new JoinItem()
    item1.fileInfo = new FileInfo()
    item1.fileInfo.filePath = "titleslide.pptx";

    let item2 = new JoinItem()
    item2.fileInfo = new FileInfo()
    item2.fileInfo.filePath = "drsingh.pptx";

    let options = new JoinOptions()
    options.joinItems = [item1, item2];
    options.outputPath = "joined-pages.docx";

    let result = await documentApi.join(new JoinRequest(options));

As far as I can tell, this is very similar to the example here:

So what could be the issue? Thanks

Hi, Is it possible to attach the input files, that cause the error? You can remove any sensitive data from it, the main goal is to reproduce the issue, Thanks

files.zip (559.0 KB)

Here they are, they are not real presentations, I just made them quickly to test with. But my real use case will of course have proper presentations.

@imbiss
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): MERGERCLOUD-88
1 Like