DocServer Example JS

Do you want to: Ask a how-to question
Document Server version: 7.4.1
Type of installation of the Document Server(deb/rp)
OS: Centos
Browser version: Chrome Version 116.0.5845.141

Hi Erveryone,

i do this example from but i got this error


Can anyone please tell me how to solve that? Thanks

I also have Problem with the DS- Sample when i create for example doc file:

Hello @tiennm,

The js example does not support JWT at the moment, so you need to disable it by changing true to false in the lines below:

"enable": {
          "request": {
            "inbox": false,
            "outbox": false
          "browser": false

Run systemctl restart ds-* to apply the changes.

As for the second issue, find the parameter secretString in /etc/onlyoffice/documentserver/local/json and compare its value with the one of set $secure_link_secret in /etc/onlyoffice/documentserver/nginx/ds.conf

If the values are different, change the one in ds.conf and run systemctl restart nginx.