DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

The document could not be saved

Open khanhmas opened this issue 10 years ago • 7 comments

When i open the document in the editor, it shows up the warning modal with the message : The document could not be saved. Please check the connection settings...

I'm using the latest version Document Server (4.0.1) on Docker. The Document Server 3.0.0 doesn't produce this warning modal.

In fact, although this popup is displayed, the document still can be saved into the external storage (Alfresco) and the co-edition seems to work PARTIALLY.

khanhmas avatar Jul 28 '16 10:07 khanhmas

The document storage service must return the following response, otherwise the document editor will display an error message:

{ "error": 0 }

Callback Handler

trofim24 avatar Jul 28 '16 10:07 trofim24

Thanks for your quick reply, do you have any idea about why it produces this error ?

khanhmas avatar Jul 28 '16 10:07 khanhmas

Thanks for your quick reply, do you have any idea about why it produces this error ?

As you open the document in the editor? From demo-sample of ONLYOFFICE ™ Integration Edition ?

trofim24 avatar Jul 28 '16 13:07 trofim24

Hello,

the { "error": 0 } response practically means "Document was returned to the Document Storage without any error". The one to produce the response { "error": 0 } is the Document Storage service, written and implemented on your side.

Dean13 avatar Jul 28 '16 13:07 Dean13

Thanks you very much. The problem is solved.

khanhmas avatar Jul 28 '16 14:07 khanhmas

@khanhmas hello,i have the same problem ,how did you solve it? Could you please tell me?

gong9949 avatar Jul 30 '18 09:07 gong9949

hello. i return { "error": 0 } at the and of file callback. and the dialog message eror do not diplay. But, when i edit file and save it. it do not save content file as expected. How can i fix it. Thanks

nguyenvancanh avatar Aug 01 '18 03:08 nguyenvancanh