Hi,
I’m having issue when trying to do a POST with API startbackup.
Here is my POST example using Basic Auth.
curl --location --request POST 'onlyoffice-myserver/api/2.0/portal/startbackup' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--data-raw '{
"storageType": "documents",
"storageParams": [
{
"Key": null,
"Value": null
}
],
"backupMail": true
}'
The following error comes back
500 “The given key ‘folderId’ was not present in the dictionary.”
I’m not really sure what that means or what to try next.
Setup
OnlyOffice Workspaces with Docker configuration.
Version 12.0.1.1748