wDocs Doc Merger error: TypeError: contentBuffer.readUInt64LE is not a function

 Hi

We are getting this error TypeError: contentBuffer.readUInt64LE is not a function when trying to merge document however only for one quote.

Has anybody seen this error before?

Fri Mar 31 08:27:11 2023 [76005][8178424e-6ac3-11eb-9c04-00163ed2fe33][INFO] Query: UPDATE wmr_wdocsmergerequest SET name = ?, date_modified = ?, modified_user_id = ?, created_by = ?, description = ?, status = ?, merge_type = ?, document_id_c = ?, dismissed = ?, parent_type = ?, parent_id = ?, document_name = ?, ws_id = ?, process_id = ?, team_id = ?, team_set_id = ?, acl_team_set_id = ?, assigned_user_id = ?, flow_data = ? WHERE (id = ?) AND (deleted = ?)\nParams: {"1":"\u00a0-Merge Request","2":"2023-03-31 08:27:11","3":"8178424e-6ac3-11eb-9c04-00163ed2fe33","4":"1","5":"TypeError: contentBuffer.readUInt64LE is not a function","6":"error","7":"pdfMerge","8":"6f31e3ba-9ba6-11eb-864b-00163ed2fe33","9":0,"10":"Quotes","11":"aee80f76-c3df-11ed-a861-00163ed2fe33","12":"\u00a0","13":null,"14":null,"15":"1","16":"1","17":null,"18":"1","19":null,"20":"c5422e36-cf9d-11ed-83bd-00163ed2fe33","21":0}\nTypes: {"1":2,"2":2,"3":2,"4":2,"5":2,"6":2,"7":2,"8":2,"9":5,"10":2,"11":2,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":5}
Fri Mar 31 08:27:11 2023 [76005][8178424e-6ac3-11eb-9c04-00163ed2fe33][DEBUG] Updating records related to wMR_wDocsMergeRequest c5422e36-cf9d-11ed-83bd-00163ed2fe33

Regards

Christopher Hart

  • The error TypeError: contentBuffer.readUInt64LE is not a function can occur when trying to merge documents in the system. Perhaps the problem is related to the incorrect work of the function of reading the contents of the buffer. To solve the problem, you need to analyze the code that calls this function and make sure it is written correctly. You may also need to check if the library or plugin used for merging documents has all the necessary dependencies for it to function.