Needparams error when opening txt file

Server Version: 7.5.1
When opening txt file it didn’t get rendered. From Chrome devtools/websocket, I saw message complaining needparams

{"type":"documentOpen","data":{"type":"open","status":"needparams","data":"https://mydomain.com/cache/files/data/e9004b03-4e97-46a1-86e4-1af7a2821619.txt/origin.txt/origin.txt?md5=YONvtj4_EuRuLyciJ_xmkg&expires=1715225857&filename=origin.txt"}}

After searching server code the it’s from
canvaservice.js

case commonDefines.FileStatus.NeedParams:
      outputData.setStatus('needparams');

which throws by converterservice.js convertByCmd at getConvertStatus.

Is it because the converter didn’t correctly convert .txt to Editor.Bin ?

[2024-05-09T06:01:50.605] [DEBUG] [localhost] [e9004b03-4e97-46a1-86e4-1af7a2821619.txt] [uid-1] nodeJS - error spawnAsync Error: Process exited with non-zero code: 89
    at ChildProcess.<anonymous> (/snapshot/server/build/server/FileConverter/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1088:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
[2024-05-09T06:01:50.605] [DEBUG] [localhost] [e9004b03-4e97-46a1-86e4-1af7a2821619.txt] [uid-1] nodeJS - stdout:
[2024-05-09T06:01:50.605] [DEBUG] [localhost] [e9004b03-4e97-46a1-86e4-1af7a2821619.txt] [uid-1] nodeJS - stderr:
[2024-05-09T06:01:50.605] [DEBUG] [localhost] [e9004b03-4e97-46a1-86e4-1af7a2821619.txt] [uid-1] nodeJS - ExitCode (code=89;signal=null;error:-89)
[2024-05-09T06:01:50.611] [DEBUG] [localhost] [e9004b03-4e97-46a1-86e4-1af7a2821619.txt] [uid-1] nodeJS - processUploadToStorage complete
[2024-05-09T06:01:50.612] [DEBUG] [localhost] [e9004b03-4e97-46a1-86e4-1af7a2821619.txt] [uid-1] nodeJS - output (data={"ctx":{"tenant":"localhost","docId":"e9004b03-4e97-46a1-86e4-1af7a2821619.txt","userId":"uid-1"},"cmd":{"withAuthorization":true,"wopiParams":null,"c":"open","id":"e9004b03-4e97-46a1-86e4-1af7a2821619.txt","userid":"uid-1","format":"txt","url":"https://mydomain.com/example/download?fileName=e9004b03-4e97-46a1-86e4-1af7a2821619.txt&useraddress=example.com","title":"Hello.txt","outputformat":8193,"outputpath":"Editor.bin","embeddedfonts":false,"status_info":-89,"nobase64":true,"convertToOrigin":".pdf.xps.oxps.djvu"}})

Using server version: 8.0.1
opening txt file works fine.

Hello,
Thank you for sharing the information.
I take it the issue doesn’t occur with the latest version?
In any case, please make sure to use the latest versions since they always contain numerous bugfixes and improvements.

Thats’ true, i was building on top of document-server-integration nodejs example and that’s why not able to keep up with official release frequently

Hello @shooding
We always recommend updating in a timely manner. Each new version contains fixes for known bugs and new features.