You are trying to perform an action you do not have rights for

Document Server version:7.4.1.36
Document Server docker
OS:centos 7.9
Browser version: edge

1.I integrated OnlyOffice into my own software
2.Now I can edit it and save document
3.When I want to download document via “download as” button, it says “You are trying to perform an action you do not have rights for.”

The request is follow:

But when I use same function in OnlyOffice example , it works correctly.

Hello @wang1
Please provide us with your editor initializing config file. Additionally, please check out this permission in your config: ONLYOFFICE Api Documentation - Config

This is my config,thank you for help.

{
“document”: {
“permissions”: {
“download”: true,
“print”: true,
“modifyFilter”: true,
“edit”: true,
“chat”: false,
“review”: true,
“fillForms”: true,
“comment”: false,
“copy”: true,
“protect”: true
},
“title”: “111.docx”,
“fileType”: “docx”,
“key”: “1QHvf7ar+wxk6LAAV”,
“url”: “http://ipaddress:port/minio/downloadRpc?id=X32nDWCE”,
“info”: {
“owner”: “小杜”,
“sharingSettings”: [
{}
],
“uploaded”: “Wed Nov 01 14:24:40 CST 2023”,
“favorite”: false
}
},
“documentType”: “word”,
“editorConfig”: {
“mode”: “edit”,
“customization”: {
“feedback”: true,
“compatibleFeatures”: false,
“help”: true,
“compactHeader”: false,
“autosave”: true,
“comments”: true,
“submitForm”: false,
“compactToolbar”: false,
“hideRightMenu”: false,
“about”: true,
“forcesave”: false,
“hideRulers”: false
},
“callbackUrl”: “http://ipaddress:port/edit/callback”,
“lang”: “zh-CN”,
“user”: {
“name”: “赵成杰”
}
},
“events”: {},
“height”: “100%”,
“type”: “desktop”,
“width”: “100%”,
“token”: “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudFR5cGUiOiJ3b3JkIiwiaGVpZ2h0IjoiMTAwJSIsIndpZHRoIjoiMTAwJSIsImRvY3VtZW50Ijp7ImZpbGVUeXBlIjoiZG9jeCIsImtleSI6IjFRSHZmN2FyK3d4azZMQUFWIiwidGl0bGUiOiIxMTEuZG9jeCIsInVybCI6Imh0dHA6Ly8xMC4xMS4yNC4xMjk6OTk5OS9taW5pby9kb3dubG9hZFJwYz9pZD1YMzJuRFdDRSIsImluZm8iOnsib3duZXIiOiLlsI_mnZwiLCJ1cGxvYWRlZCI6IldlZCBOb3YgMDEgMTQ6MjQ6NDAgQ1NUIDIwMjMiLCJmYXZvcml0ZSI6ZmFsc2UsInNoYXJpbmdTZXR0aW5ncyI6W3t9XX0sInBlcm1pc3Npb25zIjp7ImNoYXQiOmZhbHNlLCJjb21tZW50IjpmYWxzZSwiZG93bmxvYWQiOnRydWUsImVkaXQiOnRydWUsInJldmlldyI6dHJ1ZSwiY29weSI6dHJ1ZSwiZmlsbEZvcm1zIjp0cnVlLCJtb2RpZnlGaWx0ZXIiOnRydWUsInByaW50Ijp0cnVlLCJwcm90ZWN0Ijp0cnVlfX0sInR5cGUiOiJkZXNrdG9wIiwiZWRpdG9yQ29uZmlnIjp7ImNhbGxiYWNrVXJsIjoiaHR0cDovLzEwLjExLjI0LjExMjo4MDI4L2VkaXQvY2FsbGJhY2siLCJjdXN0b21pemF0aW9uIjp7ImF1dG9zYXZlIjp0cnVlLCJjb21tZW50cyI6dHJ1ZSwiY29tcGFjdEhlYWRlciI6ZmFsc2UsImNvbXBhY3RUb29sYmFyIjpmYWxzZSwiY29tcGF0aWJsZUZlYXR1cmVzIjpmYWxzZSwiZm9yY2VzYXZlIjpmYWxzZSwiaGVscCI6dHJ1ZSwiaGlkZVJpZ2h0TWVudSI6ZmFsc2UsImhpZGVSdWxlcnMiOmZhbHNlLCJzdWJtaXRGb3JtIjpmYWxzZSwiYWJvdXQiOnRydWUsImZlZWRiYWNrIjp0cnVlfSwibGFuZyI6InpoLUNOIiwibW9kZSI6ImVkaXQiLCJ1c2VyIjp7Im5hbWUiOiLotbXmiJDmnbAifX19.WwhhB6Jm3HxsAztWIlUu5Br8-4rHQ6iGYHMzasjEWMc”
}

Hello @wang1
The config seems OK, I see “download”: true, parameter.
Could you please reproduce the situation and record a video file?
When the situation is reproduced, please provide us whole Document server logs folder. It’s located here:/app/onlyoffice/DocumentServer/logs/documentserver/

Also, I have noticed that you are using Document server v.7.4.1. Is it possible to update the installation to the latest version?

I update it but the question is still accur

Hello @wang1

Please provide asked information for better understanding of the issue: