onlyoffice document server version:9.1.0-168
Running on Docker
OS version: macOS Sequoia 15.7.3 (24G419)
Browser version:
firefox for macos 146.0.1 (64 bit)
chrome for macos 143.0.7499.147 (x86_64)
Hello! I want to achieve online preview of a single docx file and online comparison of content between two docx files using onlyOffice’s Doc API. When I preview a single file, it can properly fetch the document from my own file server and display it in the browser. However, when I call documentEditor.setRevisedFile to compare two documents, although the document is fetched and displayed normally in the browser, the editor pops up with the following error: Please verify the link to the document. This link must be a direct link to the file for downloading. At the same time, onlyoffice server shows following log:
[2025-12-29T08:50:53.037] [ERROR] [localhost] [unique_document_key_fileConfig1_1766998245270] [user1] nodeJS - stdout:
[2025-12-29T08:50:53.038] [ERROR] [localhost] [unique_document_key_fileConfig1_1766998245270] [user1] nodeJS - stderr:
[2025-12-29T08:50:53.038] [ERROR] [localhost] [unique_document_key_fileConfig1_1766998245270] [user1] nodeJS - ExitCode (code=88;signal=null;error:-88)
When I click OK in the pop-up window, the document comparison process does not proceed.
I haven’t found a solution to this issue in the official documentation’s Troubleshooting section, nor is there a clear explanation of the meaning of error code -88.
My Javascript code goes here:
onDocumentReady: (() => {
onDocumentStatus && onDocumentStatus(true);
onDefaultDocumentReady(editorName);
if (stableFileConfig.editorConfig?.mode === 'review' && stableFileConfig.compareFileConfig) {
compareFile({
idName: editorName,
mode: stableFileConfig.editorConfig?.mode,
compareFileConfig: {
...stableFileConfig.compareFileConfig,
token: ononlyOfficeTokenRef.current,
},
})
}
})
// ......
const compareFile = ({ idName, mode, compareFileConfig }: DocumentReadyType) => {
const documentEditor = window.DocEditor.instances[idName]
console.log("onRequestCompareFile is loaded", documentEditor);
documentEditor.setRevisedFile(compareFileConfig)
};
What might be causing this issue, and how should I resolve it?

