An error occurred while saving the file

Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail.
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem.
Document Server version:
Type of installation of the Document Server (docker, deb/rpm, exe)
OS:
Browser version:
When I clicked the Save button after editing the document, a box popped up that said:An error occurred while saving the file. Please use the ‘Download as’ option to save the file to your computer hard drive or try again later.
Please help to answer it, thank you very much!

Start commandSfcCallback: docId = 1313714027
[2022-12-01T16:18:42.036] [DEBUG] nodeJS - getCallbackByUserIndex: docId = 1313714027 userIndex = 1 callbacks = {“userIndex”:1,“callback”:“http://192.168.10.154:8086/only/CallBackServlet?fileName=sample (16).docx”}
[2022-12-01T16:18:42.038] [DEBUG] nodeJS - Callback commandSfcCallback: docId = 1313714027 callback = http://192.168.10.154:8086/only/CallBackServlet?fileName=sample%20(16).docx
[2022-12-01T16:18:42.039] [DEBUG] nodeJS - postData request: docId = 1313714027;url = http://192.168.10.154:8086/only/CallBackServlet?fileName=sample%20(16).docx;data = {“key”:“1313714027”,“status”:7,“users”:[“78ele841”],“actions”:[{“type”:2,“userid”:“78ele841”}],“lastsave”:“2022-12-01T08:18:40.000Z”,“forcesavetype”:1}
[2022-12-01T16:18:42.065] [DEBUG] nodeJS - postData response: docId = 1313714027;data = {“error”:0}
[2022-12-01T16:18:42.066] [DEBUG] nodeJS - End commandSfcCallback: docId = 1313714027
[2022-12-01T16:18:42.066] [DEBUG] nodeJS - End receiveTask: docId = 1313714027
[2022-12-01T16:18:42.067] [DEBUG] nodeJS - pubsub message start:{“type”:12,“docId”:“1313714027”,“data”:{“type”:1,“time”:1669882720000,“success”:false}}

Hello @caomei

Sorry for the late reply.
The part of log that you shared is not reflecting why the problem happened. To help you solve this problem please share next information:

  • version of Document Server;
  • full log catalog located in /var/log/onlyoffice/documentserver inside of container;
  • type and version of external storage, e.g. Nextcloud, ownCloud, etc. (if integrated).

Waiting for your reply.

Hi @Constantine ,

I too got the same error. below is my log

[2023-09-19T16:50:22.203] [WARN] [localhost] [__ffff_127.0.0.1virat_problem.docx1695129484899] [uid-132] nodeJS - sendServerRequest returned an error: data = {“error”:1}

Hello @yokesh

It does not look like the same issue as original poster had.
Please create new thread with detailed description of the situation you are facing and additionally provide next information in the new thread:

  • version of Document Server;
  • installation type of Document Server (Docker, DEB/RPM packages, exe);
  • information about the storage Document Server integrated with;
  • all logs of Document Server.